RDS Usage and Guidelines

RDS Usage and Guidelines

Anonymous
Not applicable
1,112 Views
1 Reply
Message 1 of 2

RDS Usage and Guidelines

Anonymous
Not applicable

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.

 

0 Likes
1,113 Views
1 Reply
Reply (1)
Message 2 of 2

Ed__Jobe
Mentor
Mentor

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.

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

0 Likes