Layer Control

#1
I am used to Autocad and it Layering system. I am just starting to learn Intellicad. Is there an easy quick way of switching the layer an object is on ? Also what is the quickest way of loading linetypes ?

Thanks
to all that reply

#2
Two quick ways of changing layers:
- use MA (MATCHPROP) command - will also change other object properties.
- use a lisp routine like the one below - will only change the object layer

;paste to icad.lsp, run with ML:
(defun c:ml (/ ss e n)
(princ "Select objects to change...\n")
(setq ss (ssget))
(if ss (progn
(setq e (car (entsel "Select an object on desired layer:")))
(if e (progn
(setq n (cdr (assoc 8 (entget e))))
(command ".change" ss "" "P" "layer" n "")
))
))
)
;end copy


I have a custom lisp routine which creates most of my layers according to our standards. Therefore, I rarely need to load linetypes manually. When I do, I use the Intellicad Explorer.

#4
avaernes

Can you please post that lsp routine that loads the layers and linetypes I really am interested in looking at it. I think that could be very usefull.

Thanks again

#5
I have posted it under "Bonus". This may well be overkill if you are used to NewLayer1, NewLayer2 etc. If you have a layer standard of any kind, you should find it useful.