Page 1 of 1

Layer Control from Land Desktop

PostPosted: Fri Nov 21, 2008 4:01 pm
by monksjm
The layer control commands that are available in Autodesk Land Desktop as two and three-letter macros, which you enter on the command line. They are not listed on a menu. The macros that relate to layer control in Autodesk Land Desktop are:

LAI Layer Isolate
LAF Layer Off
LAK Layer Lock
LAO Layer On
LAP Change Layer Color/Linetype
LAS Layer Set
LAT Layer Thaw
LAU Layer Unlock
LAZ Layer Freeze
LOA Layer On All
YE Layer Erase
YS Layer Scale

A coworker of mine, and former user of Land has asked if there's an ability to access these. He's very familiar with them and we looked at a couple on LDC09 and they do seem helpful. Especially the layer Set with the way the new layer dialog box is in 09.

MACROS...

PostPosted: Fri Nov 21, 2008 8:04 pm
by monksjm
We've found their location and they're from a lisp file called macros.lsp. They cannot be cut out and put into individual lisp routines because they're still prompting for Land stuff like projects etc...Anyone know how to manipulate these so they're not asking for a project, and so they're acting as a basic lisp routine?

(defun c:laf ()
(setq saveDimscale (getvar "dimscale"))
(cr_mnl)
(setvar "dimscale" saveDimscale)
(zz_mprompt "AecCivilBase" 0 (cv_XlatLspIdForString 61564 "\nMacro: Layer Off"))
(zz_pre)
(zz_laytools "OFF")
(zz_post)
)

(defun c:lai ( / )
(setq saveDimscale (getvar "dimscale"))
(cr_mnl)
(setvar "dimscale" saveDimscale)
(zz_mprompt "AecCivilBase" 0 (cv_XlatLspIdForString 61563 "\nMacro: Layer Isolate"))
(zz_pre)
(zz_laytools "ISO")
(zz_post)
)

(defun c:lak ()
(setq saveDimscale (getvar "dimscale"))
(cr_mnl)
(setvar "dimscale" saveDimscale)
(zz_mprompt "AecCivilBase" 0 (cv_XlatLspIdForString 61562 "\nMacro: Layer Lock"))
(zz_pre)
(zz_laytools "LOCK")
(zz_post)
)

(defun c:lao ()
(setq saveDimscale (getvar "dimscale"))
(cr_mnl)
(setvar "dimscale" saveDimscale)
(zz_mprompt "AecCivilBase" 0 (cv_XlatLspIdForString 61561 "\nMacro: Layer On"))
(zz_pre)
(zz_laytools "ON")
(zz_post)
)

(defun c:lap ( / )
(setq saveDimscale (getvar "dimscale"))
(cr_mnl)
(setvar "dimscale" saveDimscale)
(zz_mprompt "AecCivilBase" 0 (cv_XlatLspIdForString 61560 "\nMacro: Change Layer Color/Ltype"))
(zz_pre)
(zz_laytools "PRO")
(zz_post)
)

(defun c:las ()
(setq saveDimscale (getvar "dimscale"))
(cr_mnl)
(setvar "dimscale" saveDimscale)
(zz_mprompt "AecCivilBase" 0 (cv_XlatLspIdForString 61559 "\nMacro: Layer Set"))
(zz_pre)
(zz_laytools "SET")
(zz_post)
)

(defun c:lat ()
(setq saveDimscale (getvar "dimscale"))
(cr_mnl)
(setvar "dimscale" saveDimscale)
(zz_mprompt "AecCivilBase" 0 (cv_XlatLspIdForString 61558 "\nMacro: Layer Thaw"))
(zz_pre)
(zz_laytools "THAW")
(zz_post)
)

(defun c:lau ()
(setq saveDimscale (getvar "dimscale"))
(cr_mnl)
(setvar "dimscale" saveDimscale)
(zz_mprompt "AecCivilBase" 0 (cv_XlatLspIdForString 61557 "\nMacro: Layer Unlock"))
(zz_pre)
(zz_laytools "UNLOCK")
(zz_post)
)

(defun c:laz ()
(setq saveDimscale (getvar "dimscale"))
(cr_mnl)
(setvar "dimscale" saveDimscale)
(zz_mprompt "AecCivilBase" 0 (cv_XlatLspIdForString 61556 "\nMacro: Layer Freeze"))
(zz_pre)
(zz_laytools "FRZ")
(zz_post)
)

Thanks

LOL

PostPosted: Fri Nov 21, 2008 8:41 pm
by cujo
If you can pull this off and make it work, totally awesome.

I cut my teeth on LDT and I _still_ after 2 years instinctively type those as if I expect them to work! :?

PostPosted: Sat Nov 22, 2008 5:31 am
by Nava Ran
The layer control commands are in View menu and Layer(Carlson) toolbar.

LDT Layer commands

PostPosted: Sun Nov 23, 2008 1:02 am
by cujo
I don't think all of those commands are present, like LOA, one of my favorites.

PostPosted: Tue Nov 25, 2008 7:32 pm
by monksjm
The layer control commands in view menu are not even close to these commands.

PostPosted: Wed Dec 03, 2008 1:38 am
by emorse4487
The problem I have been having is that many of the autodesk commands require the use of .ARX AND .FAS files (Not supported by intellicad) in order for them to work. I believe AecCivilBase is an ARX file but don't hold me to it. I do know that these ARX files can be decompiled into .dll files, which IntelliCAD does support. Unfortunately, I do not know how to do it yet...

Something that you may find interesting is the old AutoCAD 2000 express tools that came packages separatley from the new version of express tools. I can get the menu to load and use some of the command, but not the important ones.... The code is different from what you have but the problem is the same, they both reference .arx and .fas files...

If you figure it out please let me know.

Layer Control from Land Desktop

PostPosted: Thu Dec 18, 2008 4:42 pm
by asb
In response to monksjm thread concerning the LDD macros, the layer control commands I used in LDD most frequently were:

LAI Layer Isolate
LAF Layer Off
LAO Layer On
LAP Change Layer Color/Linetype
LAS Layer Set
LAT Layer Thaw
LAZ Layer Freeze
LOA Layer On All

Their power lies in the use of dialog boxes. If someone could write these macros to work with Carlson, I am confident every Carlson user would be very appreciative.

Thanks!

LDD Layer Commands

PostPosted: Thu Dec 18, 2008 6:46 pm
by cujo
Those were pretty much my favorties too.

I use the keyboard as much as possible, faster than pulldowns very often for quick and often used commands. I could have one of these executed in a blink of an eye while I'm still trying to navigate the pull-down or identify which button means what.

PostPosted: Thu Dec 18, 2008 7:25 pm
by Jason
Our programmers are working to add the ones that we don't have and should have them for the 2010 release.

keyboard

PostPosted: Thu Dec 18, 2008 7:30 pm
by cujo
Currently, with Carlson Survey 2008 (built in AutoCAD), can I assign my own keyboard shortcuts to commands? I've never been much into customizing buttons, but keyboard shortcuts would be nice to modify.

PostPosted: Thu Dec 18, 2008 7:33 pm
by Jason
Standalone doen't have a quickkeys editor. If you search the forum someone said they did get around it by editing a file but i can't remember what it was and really can't advise you to do it but it may be possible...

Layer Control from Land Desktop - Especially LAP

PostPosted: Wed Jan 13, 2010 7:37 pm
by mkane
There was a post that the layer controls from land desktop would be available by version 2010. I cannot find the LAP (change layer properties) command. Is it hidden somewhere or still unavailable?

PostPosted: Wed Oct 06, 2010 2:22 pm
by Golfball
new here....first post.

Just started using Civil 2010 with intellicad at new job after coming from using LDT. I'm banging my head against the wall without these commands! :)

My general workflow:

1. Freeze layers I don't want (images, construction lines etc) LAZ

2. Turn off/on layers i am working with
2a. Isolate layers that I need to work with (turns unwanted layers OFF not freezes them - currently isolate layers in icad unfortunately freezes them instead) LAI
2b. Turn all layers on when done editing. LOA

In my mind, it's logical use of On/Off - Freeze/Thaw.

PostPosted: Wed Oct 06, 2010 3:31 pm
by Dent Cermak
If you are loaded ontop of AutoCad, isn't there a way to still access the AutoCad commands?