Jump to content

Recommended Posts

Posted (edited)

For the life of me, I can’t find the group code for changing the “Plot Style” in the layers.

 

At current we use STB for plotting and I want to write a code that if I find any layers with a plot style of “Normal”, it will change it to “0.18”

 

I have

 

(setq layer (tblnext "LAYER" T))[/font][/size]
[font=Calibri][size=3](while layer[/size][/font]
[font=Calibri][size=3](setq curlayer (cdr (assoc 2 layer)))[/size][/font]
[font=Calibri][size=3](if (getvar (car? (cdr? (assoc ?????? layer) “normal”)))[/size][/font]
[font=Calibri][size=3](command "-layer" "set" curlayer "pstyle" "0.18" "" "")[/size][/font]
[font=Calibri][size=3])[/size][/font]
[font=Calibri][size=3](setq layer (tblnext "LAYER"))[/size][/font]
[font=Calibri][size=3])[/size][/font]

 

Can you help here :)

Edited by MCADraft

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...