CoCreate User Forum  

Go Back   CoCreate User Forum > Support > Customization

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 09-28-2010, 01:59 AM
micgiul micgiul is offline
Registered User
 
Join Date: Sep 2007
Posts: 34
Macro

Hi, I write a lot of macro and I load this macro in file sd_customize, with function (load "/path/file.lsp").

The function appare in menu Tools -> toolsbox.
Now I use the sd-add-menu-button and sd-create-menu and I have the function in task bar.

Now I want that the Macro that I put in the menu not appare in the tools -> toolbox menu?

Is it possible.

Thanks!
Michele
Reply With Quote
  #2  
Old 09-29-2010, 12:52 AM
jkramer's Avatar
jkramer jkramer is offline
Registered User
 
Join Date: Oct 2002
Location: the Netherlands
Posts: 382
Re: Macro

What I noticed so far is that in 3D the macro's don't appear anymore in the toolbox as soon as I put them in a menu (with the method you describe). But in Annotation they don't disappear....
Is your question about 3D or Annotation??
Anyway, I'm curious too :-)
Kind regards,
Jaap
Reply With Quote
  #3  
Old 09-29-2010, 04:20 AM
Marten Marten is offline
Registered User
 
Join Date: Feb 2006
Location: Tilburg, The Netherlands
Posts: 139
Re: Macro

(sd-defdialog 'yourcommand
:dialog-title "Command"
:toolbox-button nil

With ':toolbox-button nil' you prevent it from showing up in the toolbox.

Regards,

Marten
Reply With Quote
  #4  
Old 09-29-2010, 04:32 AM
micgiul micgiul is offline
Registered User
 
Join Date: Sep 2007
Posts: 34
Re: Macro

Thank you!!!

My question is about the 3D!

But I find another solution...

In the file sd_customize, I load first the file that contain the menu and after the other file with a single macro...

Thank you
Michele
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 01:07 AM.



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.