CoCreate User Forum  

Go Back   CoCreate User Forum > Applications > CoCreate Modeling

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 10-03-2014, 07:10 AM
nan battaglia nan battaglia is offline
Registered User
 
Join Date: Nov 2002
Location: Dublin, California
Posts: 126
Smile 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
Reply With Quote
  #2  
Old 10-06-2014, 05:24 PM
Andy Poulsen Andy Poulsen is offline
Administrator
 
Join Date: Apr 2003
Location: Fort Collins, Colorado
Posts: 273
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
is part of each dialog's definition.

For example, if you have a dialog whose definition starts like this:
Code:
(sd-defdialog 'my_dialog
  :variables
  '((my-var :value-type :number 
     ....
just change it to add that line, like this:
Code:
(sd-defdialog 'my_dialog
  :toolbox-button t
  :variables
  '((my-var :value-type :number 
     ....
and you should be all set!

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!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 10:42 PM.



Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.