Jump to content

Linking Viewports to objects in model space


barakar42

Recommended Posts

Hi,

 

I'm wondering if its possible to have viewports linked to certain objects in model space so that if you delete the viewport, it'll automatically delete the objects in model space

 

attached is a snapshot of an example border

 

so if you delete that layout tab, everything within that viewport gets deleted from model space.

 

 

model objects.png

Link to comment
Share on other sites

What happens if the same object appears in multiple viewports? What if only part of the object is in the viewport? What if an object is on a frozen layer? This is a real can of worms.

Link to comment
Share on other sites

no layers are frozen

each object will only appear in 1 layout/viewport

no objects will be partially in the viewport. We have boxes in model space that we zoom to in the viewport to make sure that everything will fit 

Link to comment
Share on other sites

You might try asking this in the Lisp section. It is certainly not a feature or even possible just in standard CAD. Someone knowledgable in Lisp might be able to figure out how you would select all the objects visible through a viewport and be able to delete them before deleting the layout.

Link to comment
Share on other sites

The problem is trying to get it automated. I have a program that goes through a list and delets layouts that aren't needed, however it doesn't delete stuff from the model space

Link to comment
Share on other sites

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...