Jump to content

Recommended Posts

Posted

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

Posted

Well you are erasing a paperspace layout BUT the objects you want to delete are in model space.  The question is how would you link the two?

Posted

That's what I need to know, whether it is indeed possible to link them so they can be deleted together

Posted

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.

Posted

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 

Posted

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.

Posted

What is the problem ? Just erase in mspace window, go down bottom right click delete layout ? Like a couple of seconds !

Posted

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

Posted

You could see if there was an automated way to use CHSPACE to move the Model Space items into the layout, then delete the layout.

Posted

Agree with SLW210 thinking again.  There is some examples out there viewport scale and center point compared in model so a chspace window.

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