Beruflich Dokumente
Kultur Dokumente
NET Joints
Conceptually, the process of developing a joint using the .NET API is not different from the one based on
the COM API. However there are a few differences here and there. Please find below the steps involved in the
creation of a new .NET joint:
After creating a joint and making it available in AdvanceSteel (under AutoCAD), there are some special steps
required in order to make it available in Revit too:
add info about the new joint in SteelConnectionsData.xml similar to what you have for the other joints
- make sure the typeId field from the xml has the same guid as the classId from
AstorRules.HRLDefinition table.
- fill the Images and PreviewText with the names of your corresponding resources
Example:
<PaletteItem>
<Description>Sample joint</Description>
<Command>samplejoint</Command>
<PreviewText>Preview text for the sample joint</PreviewText>
<Images>
<string>SampleJointImage.png</string>
</Images>
<PreviewImages>
<string>SampleJointPreviewImage.png</string>
</PreviewImages>
<TypeId>DFB7A86F-7E86-40F2-8E58-C16C776F7464</TypeId>
<ShowSectionMaterial>false</ShowSectionMaterial>
<ShowWeldType>false</ShowWeldType>
<ShowWeldThickness>false</ShowWeldThickness>
</PaletteItem>
- add the resource dll name ( the one that contains the image and preview image for the joint)
to the ResourceDll and PreviewResourceDll fields. The resources dll names should be separated with a
comma (“,”) from the existing dll names.
Example:
<ResourceDll>ASConnectionsResources.dll,SampleJointDotNetResources.dll</ResourceDll>
<PreviewResourceDll>ASConnectionsPreviews.dll,SampleJointDotNetResources.dll</PreviewResourceDll>
update table AstorRules.AutoFilteringConfig with information about the new joint
Example:
Key 999999
Category SampleJoint
RunName ColOrRaf Any to ColOrRaf Any
InputSet Any+Any
InputSetConds No Condition
RuleInternalName SampleJoint
ObjectsOrderForJoints 2 Beams inversed
OwnerText
For more information about configuring the AstorRules.AutoFilteringConfig please check the following
document: "AstorRules set up for SteelConnection Project.docx"
Installation (joint dll, dot net resources dll and all the AS databases and xml-s updated for all the languages).
Currently the Steel Connections addon is installed in 4 languages; so the databases and
SteelConnectionsData.xml for each country has to be updated accordingly.
The path to the SteelConnections binaries should be composed from the Revit install location read from Registry
Keys (e.g. HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\Revit\2018\REVIT-05:0409\InstallationLocation) and the
relative path to the Revit Addins (AddIns\SteelConnections). The result should be something like this:
The Advance Steel joints currently work on the Revit structural beams and structural columns families; these
families have already been preconfigured starting with Revit 2016.
In order for the Revit families to be compatible with AS, their family symbol has to have the
Structural_Section_Name_Key parameter and the StructuralFamilyNameKey property set in accordance with the
table RevitASProfileConversion table from AstorProfiles.mdf. These two (the parameter and the property) cannot
be set from the user interface.
The joint parameters are saved in Revit’s external storage. The external storage can be accessed with the already
existing Revit API functionality (like Schema and Entity).
- there are no special requirement for adding am Advance Steel joint design module to Revit; the dll has to be
installed in the Steel Connections folder and the Advance Steel databases for Steel Connections have to be updated
accordingly (just like for AS)
Install location