.NET Connections must be registered to be used in Advance Steel.
In order to us the .NET Connection in Advance Steel, follow these steps to register it.
- Open the AstorRules database (typically: C:\ProgramData\Autodesk\Advance Steel 2025\Steel\Data).
- Open RulesDllSigned table.
- Add a new record:
- Key - Use a value well above the standard Advance Steel range, e.g. 150000.
- FileName - The name of the dll (library) that implements your connection.
- Tech - This should be 2 for .NET Connections. All options include:
- "0" for connections using COM API, implemented in C++.
- "1" for connections using COM API, implemented in .NET.
- "2" for .NET API connections.
- Signature - not currently used.
- Open
HRLDefinition table. Add a new record:
- Key - Use a value well above the standard Advance Steel range, e.g. 150000.
- Rule run name - How your connection will be seen in Advance Steel.
- Internal name - Use a unique simple name with no spaces. This will be used to invoke your connection.
- Category - Used to group connection families.
- Dll - The key you used when added the new record to the RulesDllSigned table above.
- SubNameInDll - The complete name of the class that implements the IRule interface, including the namespace.
- ClassId - Generate a new unique GUID here for your connection. It will only be applicable if you create a connection design module for your connection as well.
- Place the DLL that implements the connection in the Advance Steel installation folder - usually C:\Program Files\Autodesk\AutoCAD<version>\ADVS.
- To test the connection inside Advance Steel, type AstM4CrConByVb <connectionName> (the InternalName you entered in Step 4c above).