TheSwamp
Code Red => .NET => Topic started by: Andrey Bushman on September 17, 2012, 09:34:41 AM
-
Hi all.
Anybody knows how to add/remove/edit context menu by Sheet Set, Sheet and Subset elements via .NET? From ADN I didn't receive the response to the matter: it was the formal reply, not contained the answer (the request number 06930535) :(:
Note that customizing a context menu might be doable by invoking Win32 APIs, though it might not be straightforward and considered as a hack, so not supported from ADN perspective.
Philippe Leefsma
Is the everything really so bad? :(
Sheet Sets have a weak functionality. For my users I need to extend it.
Regards
-
The sad statistics - my topics don't live. :(
-
Sorry Andrey,
I haven't played with Sheet sets at all.
From the answer from the ADN it looks like their techs haven't done snything with them either.
Good luck with an answer :)
Regards,
Kerry
The sad statistics - my topics don't live. :(
That's because you ask all the hard questions that no one has investigated. :)
-
FWIW -
The Florida Department of Transportation (FDOT) has wasted thousands, upon thousands of taxpayer dollars to create a utility they call SheetSet Organizer (http://www.dot.state.fl.us/ecso/downloads/publications/civil3dworkflows/wf51pr00154.html) (which allows Microstation users to manage multiple DSTs for a single Civil 3D project :roll:).
This utility is included with their Civil 3D 2012 State Kit (http://www.dot.state.fl.us/ecso/downloads/publications/civil3dworkflows/) (which has been in Beta for the past +/-6 years :roll:), which Autodesk has willingly worked with them to expose APIs, develop code, and even SP2.1 (http://www.theswamp.org/index.php?topic=42772.msg479737#msg479737), etc..
In any event... Use Reflection, or IlSpy to navigate C:\FDOT2012.C3D\APPS\SheetSetOrganizer\SheetSetOrganizer.exe (post-install)... To see how they use an external application to interact with SSM. Maybe that will present a rabbit hole for you to explorer. :wink:
HTH
-
not an anwer too of if can help you in anyway, but recall seeing some app related with the SSM here:
http://www.jtbworld.com/SSMPropEditor.htm
-
Here's a little sumpin' sumpin' I created a while back. Some of the code (or ideas) I got from the JTB site. I think.... :|
It's not going to work in a 64-bit install because the code is running out of process because VBA isn't integrated with AutoCAD anymore. But feel free to disect it. Maybe it'll help you. It creates a DST file on the fly with predefined subcategories.
-
not an anwer too of if can help you in anyway, but recall seeing some app related with the SSM here:
http://www.jtbworld.com/SSMPropEditor.htm
I don't want to buy another's program. I want to write.
-
It creates a DST file on the fly with predefined subcategories.
I can do it, thank you, but my question was about other.