#1
|
|||
|
|||
cycle new part color
In Direct Modeling 17.0 there was a lisp file that I had to cycle a new part color when you created a new part. Now that I'm using 18.1, I can't seem to get that lsip file to work. Anyone have any ideas or know of a way to create a new color with every new part without having to go to each part and change it's color after it is created.
Thanks |
#2
|
|||
|
|||
Re: cycle new part color
It turns out Nan's problem was a common one with people who move lisp code to v18 from previous versions: Many (or all!) of the toolbox buttons disappear!
Fortunately, it's an easy fix: In the dialog definitions, make sure the line Code:
:toolbox-button t For example, if you have a dialog whose definition starts like this: Code:
(sd-defdialog 'my_dialog :variables '((my-var :value-type :number .... Code:
(sd-defdialog 'my_dialog :toolbox-button t :variables '((my-var :value-type :number .... Good luck! andy
__________________
Andy Poulsen AI MAXTools: Dream. Design. Done. It's that easy! Add-ins bringing new functionality and speed to Creo Elements/Direct and CoCreate products. Now available for v17-v20+! See them in action at www.ai-maxtools.com and then try them for yourself -- FREE! |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|