The Hamma Posted October 7, 2021 Share Posted October 7, 2021 (edited) I have the handle to a symbol and I would like to create a separate group of a copy of the 2D symbol objects that can be inserted into the drawing with a plugin object script but I cannot get it to work. h5 = handle to symbol This works. I had to double vs.FInSymDef vs.BeginGroup() vs.Locus(0,0) vs.EndGroup gr1 = vs.LNewObj() h7 = vs.FInSymDef(vs.FInSymDef(h5)) while h7 != []: vs.CreateDuplicateObjN(h7,gr1,True) h7 = vs.NextObj(h7) Edited October 7, 2021 by The Hamma Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.