.NET
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Adding Properties Palette to a Custom Made Palette Set
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi all,
Does anybody know if it is possible to add the Properties Palette to a custom made palette set in .NET? And how to do this?
Thanks!
Re: Adding Properties Palette to a Custom Made Palette Set
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi,
So do you want to include the property pallete inside your custom pallete? Never saw it, altough you can implement a similar feature on your palette using the Selection Implied event.
If is the other way, take a look at http://through-the-interface.typepad.com/through_t
Augusto Goncalves
Autodesk Developer Network
Re: Adding Properties Palette to a Custom Made Palette Set
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi,
Yes I want to add the properties palette to a custom palette set. I've managed to do the same for the calculator (found an example here: http://forums.autodesk.com/autodesk/attachments/au
I'm using AutoCAD Mechanical 2012 x64 by the way.
The code for adding the calculator looks something like this: (I had to reference AcCalcUi.dll to the project)
'IMPORTS FOR ADDING CALCULATOR TO PALETTESET
Imports Autodesk.AutoCAD.CalculatorUI
Imports CalcDialogCreator
Public Class myCommands
Friend Shared m_ps As PaletteSet = Nothing
<CommandMethod("MarelPallette")> Public Sub MarelPallette()
If m_ps = Nothing Then
m_ps = New PaletteSet("Marel")
m_ps.Add("BeamPlan", New uscBeamPlan)
m_ps.Add("Building Provisions", New uscBuildingProvisions)
'CODE FOR ADDING CALCULATOR TO PALETTESET
Dim ucCalc As New System.Windows.Forms.UserControl
ucCalc = New CalculatorControl.AcCalcCalcCtrl(ucCalc)
m_ps.Add("Calculator", ucCalc)
End If
m_ps.Visible = True
End SubNow I was wondering if there is a similar option for adding the properties palette to my palette set.
Best Regards,
Joris
Re: Adding Properties Palette to a Custom Made Palette Set
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Does anybody have an idea how to do this???

