Author Topic: Properties Palette - a bit more managed solution  (Read 4965 times)

0 Members and 1 Guest are viewing this topic.

MaksimS

  • Guest
Properties Palette - a bit more managed solution
« on: April 11, 2007, 03:58:34 AM »
Dear all,

Is there any example on how to customize Properties Palette (ex OPM) using managed API (ACAD 2007)? I'd say that Autodesk implemented a managed wrapper around native ActiveX COM-based OPM, alas, there's no example on how to use it :-)

Regards,
Maksim Sestic

TonyT

  • Guest
Re: Properties Palette - a bit more managed solution
« Reply #1 on: April 11, 2007, 04:21:41 AM »
What managed wrapper is there for the OPM ?

Dear all,

Is there any example on how to customize Properties Palette (ex OPM) using managed API (ACAD 2007)? I'd say that Autodesk implemented a managed wrapper around native ActiveX COM-based OPM, alas, there's no example on how to use it :-)

Regards,
Maksim Sestic

MaksimS

  • Guest
Re: Properties Palette - a bit more managed solution
« Reply #2 on: April 11, 2007, 07:28:00 AM »
Hi Tony,

Take a look at:

1)
Namespace: Autodesk.AutoCAD.Windows.ToolPalette
Member of: acmgd.dll

Following interfaces:
- IAcPiProperty*
- IOPMProperty*
- IPerPropertyBrowsing

then also:
Public NotInheritable Class PerPropertyBrowsingEntryAttribute

2)
Assembly acmgdinternal.dll
Namespace: Autodesk.AutoCAD.PropertyInspector
(especially that particular namespace)

In my knowledge they do wrap some (or full) OPM functionality, it's just a matter of a) if they are implemented at all, and b) if they do represent working implementation - how do we utilize them.

Regards,
Maksim Sestic
« Last Edit: April 11, 2007, 07:34:16 AM by MaksimS »

TonyT

  • Guest
Re: Properties Palette - a bit more managed solution
« Reply #3 on: April 11, 2007, 11:02:15 AM »
You'll see quite a few dialogs and other places in
AutoCAD where the same control used in the OPM
is used to display properties of things like ToolPalette
items, and so on.

It looks like those interfaces are there to support
the use of the control in managed code but I don't
see anything that provides access to the OPM.

Hi Tony,

Take a look at:

1)
Namespace: Autodesk.AutoCAD.Windows.ToolPalette
Member of: acmgd.dll

Following interfaces:
- IAcPiProperty*
- IOPMProperty*
- IPerPropertyBrowsing

then also:
Public NotInheritable Class PerPropertyBrowsingEntryAttribute

2)
Assembly acmgdinternal.dll
Namespace: Autodesk.AutoCAD.PropertyInspector
(especially that particular namespace)

In my knowledge they do wrap some (or full) OPM functionality, it's just a matter of a) if they are implemented at all, and b) if they do represent working implementation - how do we utilize them.

Regards,
Maksim Sestic


MaksimS

  • Guest
Re: Properties Palette - a bit more managed solution
« Reply #4 on: April 11, 2007, 11:28:32 AM »
You're right, but that one:

Assembly acmgdinternal.dll
Namespace: Autodesk.AutoCAD.PropertyInspector

holds a complete set of classes that support OpmX customization - take a look at Cyrille Fauvel's description of unmanaged Properties Palette on ADN: http://adn.autodesk.com/adn/servlet/item?siteID=4814862&id=7583077&linkID=4900509.

Cyrille, do you read this? :-) Please help if you do. Or Albert, or whoever who's responsible for managed API... I'm currently relying on managed wrapper around unmanaged wrapper around ActiveX COM control and it's really boring :-)

Regards,
Maksim Sestic

You'll see quite a few dialogs and other places in
AutoCAD where the same control used in the OPM
is used to display properties of things like ToolPalette
items, and so on.

It looks like those interfaces are there to support
the use of the control in managed code but I don't
see anything that provides access to the OPM.

Hi Tony,

Take a look at:

1)
Namespace: Autodesk.AutoCAD.Windows.ToolPalette
Member of: acmgd.dll

Following interfaces:
- IAcPiProperty*
- IOPMProperty*
- IPerPropertyBrowsing

then also:
Public NotInheritable Class PerPropertyBrowsingEntryAttribute

2)
Assembly acmgdinternal.dll
Namespace: Autodesk.AutoCAD.PropertyInspector
(especially that particular namespace)

In my knowledge they do wrap some (or full) OPM functionality, it's just a matter of a) if they are implemented at all, and b) if they do represent working implementation - how do we utilize them.

Regards,
Maksim Sestic


TonyT

  • Guest
Re: Properties Palette - a bit more managed solution
« Reply #5 on: April 11, 2007, 12:03:20 PM »
No, Autodesk.AutoCAD.PropertyInspector does not hold a complete
set of classes that support OPMX customization.

You're right, but that one:

Assembly acmgdinternal.dll
Namespace: Autodesk.AutoCAD.PropertyInspector

holds a complete set of classes that support OpmX customization - take a look at Cyrille Fauvel's description of unmanaged Properties Palette on ADN: http://adn.autodesk.com/adn/servlet/item?siteID=4814862&id=7583077&linkID=4900509.

Cyrille, do you read this? :-) Please help if you do. Or Albert, or whoever who's responsible for managed API... I'm currently relying on managed wrapper around unmanaged wrapper around ActiveX COM control and it's really boring :-)

Regards,
Maksim Sestic

You'll see quite a few dialogs and other places in
AutoCAD where the same control used in the OPM
is used to display properties of things like ToolPalette
items, and so on.

It looks like those interfaces are there to support
the use of the control in managed code but I don't
see anything that provides access to the OPM.

Hi Tony,

Take a look at:

1)
Namespace: Autodesk.AutoCAD.Windows.ToolPalette
Member of: acmgd.dll

Following interfaces:
- IAcPiProperty*
- IOPMProperty*
- IPerPropertyBrowsing

then also:
Public NotInheritable Class PerPropertyBrowsingEntryAttribute

2)
Assembly acmgdinternal.dll
Namespace: Autodesk.AutoCAD.PropertyInspector
(especially that particular namespace)

In my knowledge they do wrap some (or full) OPM functionality, it's just a matter of a) if they are implemented at all, and b) if they do represent working implementation - how do we utilize them.

Regards,
Maksim Sestic


MaksimS

  • Guest
Re: Properties Palette - a bit more managed solution
« Reply #6 on: April 13, 2007, 10:37:04 AM »
Oh, and I was hoping this will end all my troubles with OpmX customization... bah... :-) Nevermind, more wrappers - more fun :-)


No, Autodesk.AutoCAD.PropertyInspector does not hold a complete
set of classes that support OPMX customization.

You're right, but that one:

Assembly acmgdinternal.dll
Namespace: Autodesk.AutoCAD.PropertyInspector

holds a complete set of classes that support OpmX customization - take a look at Cyrille Fauvel's description of unmanaged Properties Palette on ADN: http://adn.autodesk.com/adn/servlet/item?siteID=4814862&id=7583077&linkID=4900509.

Cyrille, do you read this? :-) Please help if you do. Or Albert, or whoever who's responsible for managed API... I'm currently relying on managed wrapper around unmanaged wrapper around ActiveX COM control and it's really boring :-)

Regards,
Maksim Sestic

You'll see quite a few dialogs and other places in
AutoCAD where the same control used in the OPM
is used to display properties of things like ToolPalette
items, and so on.

It looks like those interfaces are there to support
the use of the control in managed code but I don't
see anything that provides access to the OPM.

Hi Tony,

Take a look at:

1)
Namespace: Autodesk.AutoCAD.Windows.ToolPalette
Member of: acmgd.dll

Following interfaces:
- IAcPiProperty*
- IOPMProperty*
- IPerPropertyBrowsing

then also:
Public NotInheritable Class PerPropertyBrowsingEntryAttribute

2)
Assembly acmgdinternal.dll
Namespace: Autodesk.AutoCAD.PropertyInspector
(especially that particular namespace)

In my knowledge they do wrap some (or full) OPM functionality, it's just a matter of a) if they are implemented at all, and b) if they do represent working implementation - how do we utilize them.

Regards,
Maksim Sestic