CoCreate User Forum  

Go Back   CoCreate User Forum > Support > Customization
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 07-07-2005, 04:57 AM
andrea andrea is offline
Registered User
 
Join Date: Sep 2003
Location: italy
Posts: 261
insert icon / command

Where I can find the name of menu the standards in order to insert you of the new push-buttons with the command:

sd-add-button-box


I would want to insert one new command/icon of the zone evidenced in red.

It's possible ??????
Attached Thumbnails
Click image for larger version

Name:	Immagine1.JPG
Views:	288
Size:	23.6 KB
ID:	502  
Reply With Quote
  #2  
Old 07-09-2005, 11:27 PM
Wolfgang's Avatar
Wolfgang Wolfgang is offline
Registered User
 
Join Date: Nov 2002
Location: ... near Sindelfingen near Stuttgart, Germany
Posts: 754
Re: insert icon / command

Hi Andrea,

have a look to the function sd-dump-control-tree
help/osdm/Common/documentation/integration_kit/reference/uict_otherutil.html#sd-dump-control-tree

This shows you alle the controls available (there are much more than you need for your purpose)

Give me an example what you are looking for and I can explain in more detail.
Reply With Quote
  #3  
Old 07-16-2005, 06:44 AM
martin martin is offline
Registered User
 
Join Date: Jul 2005
Posts: 2
Re: insert icon / command

Hi andrea !

I think this is not so easy !
It's right you have to know the names of the widgets .
sd-dump-control-tree or an other function
widget-tree-to-file
e.g.:
(widget-tree-to-file "C:/temp/tree.txt")
can help. Know you can analyse this three file an maybe you know
now the widget names.
Know you have to add your own areas and buttons.
Maybe you use the integration kit functions (basic UI):
sd-append-area
sd-append-grid-area
sd-creat-push-button or something else.

My opinion:
Don't do that.
I think these are all unsupported things by CoCreate.
Maybe you should create a new menu using the
possibilities from IKIT (sd-create-menu, .....)
Reply With Quote
  #4  
Old 07-17-2005, 11:09 PM
Markus Markus is offline
Registered User
 
Join Date: Oct 2002
Location: Sindelfingen, Germany
Posts: 88
Thumbs up Re: insert icon / command

Hello Andrea,

since OSDM 13.0 it is fully supported to do the following (Windows only!):
  1. (oli:sd-dump-control-tree :filename "c:/temp/tree")
  2. Search for "STRAIGHT_2D" in the written file
  3. In this example I simply add another "Extrude" button to this menu:
    (oli:sd-add-menu-button "MY-EXTRUDE"
    :label "Extrude"
    :image "SolidDesigner/Machine/extrude"
    :parent '("STRAIGHT_2D" "LINE") ;; taken from the tree file
    :beforeButton "STRAIGHT_2D-LINE-LINE_DUMMY-TB" ;; taken from the tree file
    :pushAction '(progn (oli:sd-put-buffer "extrude")
    (oli:sd-reset-togglebutton "STRAIGHT_2D-LINE-MY-EXTRUDE-TB")))
  4. (oli:sd-remove-menu-button "LINE_DUMMY" :parent '("STRAIGHT_2D" "LINE")) to get rid of the placeholder button


Markus
Reply With Quote
Reply


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

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 08:33 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.