The SteelConnectionsData.xml file contains information about steel connections available in Revit.
The default location for this file is under C:\ProgramData\Autodesk\Revit Steel Connections 2022 under each of the 4 language folders.
Near the beginning of the SteelConnectionsData.xml file are the ResourceDll and PreviewResourceDll elements. These elements should already list the resource dlls for the AS connections included with the Steel Connections add-in for Revit. Add the resource dll for the .NET connection to these elements, separated by a comma from the existing resource dll names, as shown in the xml file snippet below.
|
Code Region: Add the resource dll name |
<ResourceDll>ASConnectionsResources.dll,CustomConnectionResources.dll</ResourceDll> <PreviewResourceDll>ASConnectionsPreviews.dll,CustomConnectionResources.dll</PreviewResourceDll> |
Next, add the information for the new .NET connection to the appropriate category section. Each connection is represented by a PaletteItem. PaletteItems are grouped under a PaletteCategory node, such as "Plates at beam" or "Column - Beam", which identify the type of connection they are. The elements of PaletteItem are:
|
Code Region: PaletteItem example |
<PaletteItem>
<Description>Sample connection</Description>
<Command>sampleconnection</Command>
<PreviewText>Preview text for the sample joint</PreviewText>
<Images>
<string>SampleJointImage.png</string>
</Images>
<PreviewImages>
<string>SampleJointPreviewImage.gif</string>
</PreviewImages>
<TypeId>DFB7A86F-7E86-40F2-8E58-C16C776F7464</TypeId>
<ShowSectionMaterial>false</ShowSectionMaterial>
<ShowWeldType>false</ShowWeldType>
<ShowWeldThickness>false</ShowWeldThickness>
</PaletteItem>
|