Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MintJulep 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
Joined
Nov 20, 2004
Messages
2
Location
IE
Is it possible to create a new layer and automatically freeze it in all old viewports?
 
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

Back
Top