Jump to content

Recommended Posts

Posted (edited)

It does not appear that the ownerid stays with the object like the handle does.. is the handle (dxf 5 code) the only thing that stays with an entity after closing the dwg?

Edited by Lt Dan's legs
Posted

ObjectID/OwnerID are not persistent between drawing sessions as these only exist when the drawing database is loaded into memory and are reassigned when the database is reloaded.

 

Handles are persistent.

Posted

Is this why use chose to use the entity handle in your BoundingBoxReactor.lsp?

Posted
Is this why use chose to use the entity handle in your BoundingBoxReactor.lsp?

 

IIRC, I merely used the handle for convenience since in that 'example code' the reactors are not rebuilt on startup.

Posted

but you can make them that way.

 

IIRC?

Posted
but you can make them that way. IIRC?

 

Yes' date=' using stored handles (in xData/Dictionaries) is one way of recreating object reactors.

 

Example from Gile here.

 

Example from me here.

Posted

Nice! It's been a while since I've visited the swamp

 

Thanks Lee!

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...