Skip to content
Discussion options

You must be logged in to vote

I uploaded a new build that has acedSSSubentLength and acedSSSubentName
sample:

@Ap.Command()
def doit1():
    try:
        ps, ss = Ed.Editor.ssget("_:V", None, None)
        for idx in range(ss.size()):
            for sidx in range(ss.subentLength(idx)):
                print(ss.subentName(idx, sidx))
    except Exception as err:
        traceback.print_exception(err)

throws Exception, Not implemented in BRX! under BCAD.
You can use the constructor
Db.FullSubentPath(ids, Db.SubentId())

other useful functions for nested

Ap.Command()
def doit2():
    try:
        ps, id, pnt, mat, ownerids = Ed.Editor.nEntSelP("\nselect: ")
        _path = Db.FullSubentPath(id, Db.SubentId())
        
 …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by schoeller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants