Jump to content

Recommended Posts

Posted

Hey guys, im sad to tell you that my lisp development has slowed to an almost complete stop. Im juggling work and a few websites right now so im not getting even the time to read on the toilet :cry:

 

Just wondering, is it possible to create a lisp or several lisp files that will change the colours of objects by simply entering an alias for the colour lets say. Just a thought, thou with my very limited knowledge im not even sure where to start :oops:

 

Any help would be appreciated, as always :wink:

 

Z

Posted

Not sure if this helps but we had a txt file that contains all the layer parameters but are associated with a lisp variable so running your change lisp would read the text file first this means your lisp is not hardcoded with an answer nor do you have to enter a colour every time.

 

1234567890123456789012345678901234567890

Newname Programname Col LineType

brick--1 brick--1 1 continuous

ceiling--2 ceiling--2 6 continuous

ceiling--3 ceiling--3 6 continuous

ceiling--5 ceiling--5 6 continuous

 

script generated

(setq brick--1 "brick--1")

(setq brick--1col 1)

(setq brick--1lin "continuous")

(setq ceiling--2 "ceiling--2")

(setq ceiling--2col 6)

(setq ceiling--2lin "continuous")

 

I guess its helpfull if you want to alter a lot of drawings and set the standards. just check if variable exists if not manual answer.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...