US$0.00
0

EdmAddIn5

🔒 You're viewing limited content

In this course, We begin the actual coding by preparing our class to talk to PDM.
We rename our file and add special labels called “attributes” so the computer knows this code is an add-in.
Finally, We use a “contract” called an interface to make sure PDM and our code understand each other and can share information.

KeyTakeaway :

  • Prepare the Class: Rename the default class to “addin.cs” to keep the project organized.
  • Enable Visibility: Use the ComVisible attribute to make the code visible to the PDM client.
  • Create a Unique ID: Generate a GUID (a long, unique number) from the Tools menu to identify the add-in.
  • Establish a Contract: Use the IEDMAddIn5 interface to allow PDM to call your code.
  • Define Communication: Use the GetAddInInfo method to tell PDM the name and version of the tool when it first loads.

Existing Student?

OR

If you're a premium user with access to technical support, please address all of your questions via our dedicated help channel on Slack.

Leave a Comment

0
    0
    Your Cart
    Your cart is emptyReturn to Shop