Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting Visibility of New Layers in Old Viewports

Status
Not open for further replies.

shanej

Civil/Environmental
Nov 20, 2004
2
Is it possible to create a new layer and automatically freeze it in all old viewports?
 
Replies continue below

Recommended for you

A macro looking something like this might work:

(Defun C:NewLayer ()
(Setvar "CmdEcho" 0)
(Setq NL (GetString "Type your new layer name and press enter: "))
(Command "Layer" "n" NL "s" NL "")
(Command "Vplayer" "f" NL "all" "")
(Command "MView")
(princ)
))
 
borgunit-
Help me out. The link seems to point to the viewport info but for INTELLICAD. I'm aware that intellicad is an ACAD workalike, but is it so close that command info is the same for both, as using this link for an ACAD command implies? Pretty interesting stuff, if so.

Tks-
C. Fee
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor