.NET

Reply
USQ
New Member
USQ
Posts: 1
Registered: ‎08-01-2012
Message 1 of 2 (215 Views)

RDS Usage and Guidelines

215 Views, 1 Replies
08-01-2012 07:55 AM

Hello,

 

I have a plug-in developed with the ObjectARX SDK, C#, VS2010 and the Autodesk supplied template. The plug-in is loaded into AutoCAD at start-up via a registry entry.

 

The plug-in is to be distributed privately and will not be submitted to the 'Marketplace' supplied by Autodesk for AutoCAD products.

 

I've noticed that there is a section on the AutoDesk website with regards to registering a custom prefix via the RDS scheme (http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=1075006)

 

Currently we have code within the following areas:

 

  • Class Namespaces e.g. "MyNamespace.Utility"
  • Functions
  • Custom Commands e.g. "DEBUGDATA"

Based on the current implementation and intended usage/distribution method is symbol registration required? I ask as I am not sure what would happen if another plug-in used by the user has a "DEBUGDATA" command.

 

If symbol registration is required could you provide a clear example of how developer symbols should be implemented within the code?

 

Many thanks

 

USQ.

 

Distinguished Contributor
eljobe
Posts: 706
Registered: ‎01-24-2003
Message 2 of 2 (200 Views)

Re: RDS Usage and Guidelines

08-01-2012 01:44 PM in reply to: USQ

This blog entry should answer your questions. You don't have to use an RDS, but doing so can avoid potential conflicts. If you installed an add-in from someone else who also didn't use an RDS, then they could have a class with the same name as one of your classes and that class could have a method with the same name as one of your methods and then there would be an ambiguous condition as to which method to execute.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.