Jump to content

Removing Border on Viewport

Recommended Posts

Try the script below. It came from Vector Depot...

{From Vector Depot}

{Patrick B. McConnell}


PROCEDURE doit(h : handle);


hVport : HANDLE;


hVport := GetVPCropObject(h);

IF GetLS(hVport) = 0 THEN SetLS(hVport, 2);

IF GetLW(hVPort) <> 0 THEN BEGIN

{alrtDialog('Not zero');}

SetLW(hVport, 0);



{ alrtDialog('Zero');}

SetLW(hVport, 12);




ForEachObject(doit,((SEL=True) AND (T=122)));



Link to comment

I like using something other than "none" and using the toggle because it takes a step or 2 out of the process to edit the crops. Just my reasoning. In fact, I have several such toggles that have taken the hassle factor out of a lot of my drawing.

Have you seen Panzer's ViewPort Pack yet? One of the tools generates crop object(s) on the related design layer(s). Very useful if you're wanting to adjust drawing geometry to fit a particular VP. Take a look @ www.panzercad.com.

Link to comment
  • 15 years later...

Does anyone know how to get rid of the border when your viewport is an interior elevation? The same toggle is greyed out for those, and I can't seem to edit a would-be crop where I could select an object and change its line attributes. I don't want to start putting all sorts of white rectangles all over my printable, templated page.





Edited by Marci
Contained old image
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...