How do you add a layer control, color control, etc., to a toolbar? I don't see instructions in the documentation or an option in the toolbar configuration pop-ups.
Thanks.
Re: Toolbar controls
#2Which toolbar do you want to add these to?
CMS Intellicad 14.1.411.168739.PE+.VC17.x64.CMS141
i9-12900k / 64gb-3200 - NVIDIA GeForce TRX 3060 Ti 8Gb Windows 11 Pro
Steve Nichols
i9-12900k / 64gb-3200 - NVIDIA GeForce TRX 3060 Ti 8Gb Windows 11 Pro
Steve Nichols
Re: Toolbar controls
#3It would be a new toolbar. I'm investigating changing from another CAD program. We use toolbars, not ribbon, and all toolbars are custom made for our workflow. I do not want to modify the built-in toolbars because they would have to be re-edited each time the program is updated. In this case the toolbar would be similar to the Entity Properties toolbar, but not an exact copy.
I don't see tlbctrl-layer in the Command List. Copy/paste from the Entity Properties toolbar yields a button in the new toolbar, not a control.
I don't see tlbctrl-layer in the Command List. Copy/paste from the Entity Properties toolbar yields a button in the new toolbar, not a control.
Re: Toolbar controls
#4Do you have the toolbar you want to replicate in ',mnu' format?
CMS Intellicad 14.1.411.168739.PE+.VC17.x64.CMS141
i9-12900k / 64gb-3200 - NVIDIA GeForce TRX 3060 Ti 8Gb Windows 11 Pro
Steve Nichols
i9-12900k / 64gb-3200 - NVIDIA GeForce TRX 3060 Ti 8Gb Windows 11 Pro
Steve Nichols
Re: Toolbar controls
#5I do not, but that would be easy enough to do. I normally build toolbars in the CAD program's toolbar editor and I was surprised that I could not find a way to add standard controls.
I also don't see a way to to adjust the control widths. I'm currently using Bricscad and the width of toolbars is editable. That makes it easy to stack two toolbars and have them the same length.
I also don't see a way to to adjust the control widths. I'm currently using Bricscad and the width of toolbars is editable. That makes it easy to stack two toolbars and have them the same length.
Re: Toolbar controls
#6Hope this works!!
Here is a video of me creating a new toolbar 'FRED-1' in Icad and adding a single button:
It's a bit rough-n-ready
https://www.dropbox.com/scl/fi/e5ymcnsx ... jb4hk&dl=0
When you see the 'insert toolbar' It requires a 'right mouse click' to activate (?) does that make sense??
Where the command goes, this can be a existing command, or a macro string
^C^C_attdia;off;-insert;RT;\(getvar "dimscale");;;;_attdia;on;
Hope this helps
Here is a video of me creating a new toolbar 'FRED-1' in Icad and adding a single button:
It's a bit rough-n-ready
https://www.dropbox.com/scl/fi/e5ymcnsx ... jb4hk&dl=0
When you see the 'insert toolbar' It requires a 'right mouse click' to activate (?) does that make sense??
Where the command goes, this can be a existing command, or a macro string
^C^C_attdia;off;-insert;RT;\(getvar "dimscale");;;;_attdia;on;
Hope this helps
CMS Intellicad 14.1.411.168739.PE+.VC17.x64.CMS141
i9-12900k / 64gb-3200 - NVIDIA GeForce TRX 3060 Ti 8Gb Windows 11 Pro
Steve Nichols
i9-12900k / 64gb-3200 - NVIDIA GeForce TRX 3060 Ti 8Gb Windows 11 Pro
Steve Nichols
Re: Toolbar controls
#7Thanks for taking the time to make the video, but it does not address my question. Adding buttons to toolbars is something I've done in Autocad and Bricscad many times.
What I want to do is add standard drop-down controls to custom toolbars. The drop-down layer control is the 4th functional item on the ICAD Entity Properties toolbar. The element ID is tlbctrl-layer. Copy/paste from the ICAD toolbar to my toolbar does not work. If the drop-down is in the Command List I can't find it. Adding layer, color, and linetype drop-down controls (I don't use the other two) is trivial in Autocad and Bricscad. I assume this is also easy in Intellicad but I'm not seeing how to do it.
What I want to do is add standard drop-down controls to custom toolbars. The drop-down layer control is the 4th functional item on the ICAD Entity Properties toolbar. The element ID is tlbctrl-layer. Copy/paste from the ICAD toolbar to my toolbar does not work. If the drop-down is in the Command List I can't find it. Adding layer, color, and linetype drop-down controls (I don't use the other two) is trivial in Autocad and Bricscad. I assume this is also easy in Intellicad but I'm not seeing how to do it.
Re: Toolbar controls
#8Save this as a 'MNU' file and then import.
Let me know how you get on.
Code: Select all
***TOOLBARS
**TB_SLN_LAYER_PROPERTIES
ID_TbLayerP [_Toolbar("_SLN Layer Properties", _Top, _Show, 0, 1, 1)]
ID_Layer [_Button("Layers", ICON_16_LAYERS, ICON_24_LAYERS)]'_layer
[--]
ID_CtrlLayer [_Control(_Layer)]
[--]
ID_CtrlColor [_Control(_Color)]
[--]
ID_Linetype [_Button("Linetype", ICON_16_LINETY, ICON_24_LINETY)]'_linetype
[--]
ID_CtrlLinet [_Control(_Linetype)]
CMS Intellicad 14.1.411.168739.PE+.VC17.x64.CMS141
i9-12900k / 64gb-3200 - NVIDIA GeForce TRX 3060 Ti 8Gb Windows 11 Pro
Steve Nichols
i9-12900k / 64gb-3200 - NVIDIA GeForce TRX 3060 Ti 8Gb Windows 11 Pro
Steve Nichols
Re: Toolbar controls
#9Steve,
That worked perfectly. Thanks. The only problem I had was figuring out how to do the MENULOAD. I didn't see anything in the pop-up version of the command that allowed importing a file. The command line version worked.
My CAD journey started with R14 when I changed from aerospace to consulting around 1985, then Autocad LT (with LISP extenders), then full Autocad for a while , then Bricscd for about the last 15 years. Bricscad seems to have reached the point where the "but should we" question isn't being asked after they determine "we can do this...". I'm working on getting my toolbars and custom lisp routines (almost 1.3Mb) working in Intellicad so I can see if it is a viable option. There are enough differences in variable names and interface conventions that this has not been trivial.
That worked perfectly. Thanks. The only problem I had was figuring out how to do the MENULOAD. I didn't see anything in the pop-up version of the command that allowed importing a file. The command line version worked.
My CAD journey started with R14 when I changed from aerospace to consulting around 1985, then Autocad LT (with LISP extenders), then full Autocad for a while , then Bricscd for about the last 15 years. Bricscad seems to have reached the point where the "but should we" question isn't being asked after they determine "we can do this...". I'm working on getting my toolbars and custom lisp routines (almost 1.3Mb) working in Intellicad so I can see if it is a viable option. There are enough differences in variable names and interface conventions that this has not been trivial.
Re: Toolbar controls
#10
You can import the 'mnu' file via the 'customise UI' under the TOOLS dropdown.
Once the main dialog has opened, select the 'Tranfer' tab
In the righthand window select the 'Open' file icon, and search for the mnu file you created from my post above.
Then expand it until you have the toolbars open & drag the toolbar over to the left window & drop it in the Icad-Toolbars- here
select apply
select OK
All should be good now.
Customise the MNU file how you like for any commands you use/want.
PS
I started with Release 8 via DOS !!
when 1K RAM was King
Once the main dialog has opened, select the 'Tranfer' tab
In the righthand window select the 'Open' file icon, and search for the mnu file you created from my post above.
Then expand it until you have the toolbars open & drag the toolbar over to the left window & drop it in the Icad-Toolbars- here
select apply
select OK
All should be good now.
Customise the MNU file how you like for any commands you use/want.
PS
I started with Release 8 via DOS !!
CMS Intellicad 14.1.411.168739.PE+.VC17.x64.CMS141
i9-12900k / 64gb-3200 - NVIDIA GeForce TRX 3060 Ti 8Gb Windows 11 Pro
Steve Nichols
i9-12900k / 64gb-3200 - NVIDIA GeForce TRX 3060 Ti 8Gb Windows 11 Pro
Steve Nichols