Author Topic: Button or lisp question  (Read 2010 times)

0 Members and 1 Guest are viewing this topic.

One Shot

  • Guest
Button or lisp question
« on: March 29, 2005, 05:05:06 PM »
In a button, how would I indicate that layer a block should go.  How would I write that in a lisp routine also?

Thank you

CADaver

  • Guest
Button or lisp question
« Reply #1 on: March 29, 2005, 05:23:26 PM »
A button macro would look like this (sorta):

Code: [Select]
[BOLT]^C^C-layer m TEXT;;-INSERT g:/00struct/tabs/str/SCTBR S (getvar "dimscale");

This MAKES layer TEXT current (if it doesn't exist, it will create it).  Then inserts block SCTBR at a sclae preset to the current dimscale.

One Shot

  • Guest
Button or lisp question
« Reply #2 on: March 29, 2005, 05:34:32 PM »
Quote from: CADaver
A button macro would look like this (sorta):

Code: [Select]
[BOLT]^C^C-layer m TEXT;;-INSERT g:/00struct/tabs/str/SCTBR S (getvar "dimscale");

This MAKES layer TEXT current (if it doesn't exist, it will create it).  Then inserts block SCTBR at a sclae preset to the current dimscale.


Tthank you,

This is what I am trying to put on layer Interior. Ref. Code
Code: [Select]
^C^C(c:column "#28" "16")