Quantcast
Viewing all articles
Browse latest Browse all 5804

CageEdit for Multiple Objects

@rhw2 wrote:

Continuing the discussion from Cage edit equivalence command in python:

I can't seem to get the rs.command CageEdit to work for multiple objects!
For example, I used a similar script but selected multiple objects:

#objects
Model = rs.GetObjects("select objects", 16)

#cage edit
strModel = str(Model) + " "
rs.Command("_CageEdit " + "selid " + strModel + "_enter " + "BoundingBox " + "World " + "XPointCount " + "2 " + "YPointCount " + "2 " + "ZPointCount " + "2 " + " _enter " + "Global ")

Please let me know why my script is not working. Thanks!
Would "selid" have an influence on single versus multiple objects selected?

Thanks.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5804

Trending Articles