Jump to content

Trying to copy 2D plan objects from symbol and insert into group

Recommended Posts

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


gr1 = vs.LNewObj()
h7 = vs.FInSymDef(vs.FInSymDef(h5))
while h7 != []:
	h7 = vs.NextObj(h7)





Edited by The Hamma
Link to comment

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.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...