Help - Advance Steel .NET and COM API - Autodesk
Help - Advance Steel .NET and COM API - Autodesk
Namespace distribution:
ASObjectsMgd ASMgd
Autodesk.AdvanceSteel.Arrangement Autodesk.AdvanceSteel.ExtDb
Autodesk.AdvanceSteel.Connection Autodesk.AdvanceSteel.ServicesDatabaseUtils
Autodesk.AdvanceSteel.ConstructionHelpe
Autodesk.AdvanceSteel.Contours
Autodesk.AdvanceSteel.Exceptions
Autodesk.AdvanceSteel.InteropServices
Autodesk.AdvanceSteel.Modelling
Autodesk.AdvanceSteel.Modelling.Grid
Autodesk.AdvanceSteel.StructuralAnalysis
Autodesk.AdvanceSteel.Utils
Autodesk.AdvanceSteel.Application Autodesk.AdvanceSteel.Application
Autodesk.AdvanceSteel.BuildingStructure Autodesk.AdvanceSteel.BuildingStructure
Autodesk.AdvanceSteel.CADAccess Autodesk.AdvanceSteel.CADAccess
Autodesk.AdvanceSteel.ConstructionTypes Autodesk.AdvanceSteel.ConstructionTypes
Autodesk.AdvanceSteel.DocumentManagement Autodesk.AdvanceSteel.DocumentManagement
Class Effort
Constructor:
Effort()
Properties:
https://help.autodesk.com/view/ADSTPR/2021/ENU/?guid=GUID-AF2072A9-3F8F-4DAC-B595-470A9E32BEE0 1/25
11/10/21, 4:32 PM Help | Advance Steel .NET and COM API | Autodesk
string LoadCaseName
Vector3d F, M
Class Node
Constructor:
Node()
Enum:
eNodeElemEnd
eNodeStatus
Constructor:
double CircleRadius
double FlagPoleLength
int JointRelationLength
Point3d OrientationPoint
Point3d Position
eNodeStatus Status
Methods:
AddElementInfo(NodeElemInfo elemInfo)
AddJointRelation(AutoConstructionObject pAutoConstructionObject)
int DetectJoint()
ObjectId[] GetDrivers()
TransformBy(Matrix3d mat)
https://help.autodesk.com/view/ADSTPR/2021/ENU/?guid=GUID-AF2072A9-3F8F-4DAC-B595-470A9E32BEE0 2/25
11/10/21, 4:32 PM Help | Advance Steel .NET and COM API | Autodesk
Class NodeElemInfo
Constructor:
Properties:
int Count
Methods:
AddEffort(Effort effort)
Class NodeElemKey
Constructors:
NodeElemKey()
NodeElemKey(int driverElemIdx)
Properties:
Node.eNodeElemEnd ElementEnd
int ElementIndex
bool IsValid
The Grid class has been added to the .NET API in the Autodesk.AdvanceSteel.Modelling namespace.
In addition to the methods from the base class and the RTTI methods, it contains the following methods:
Constructor:
Grid()
Enum:
eGridType
eNumberingType
Properties:
bool AxisFrame
Matrix3d CS
https://help.autodesk.com/view/ADSTPR/2021/ENU/?guid=GUID-AF2072A9-3F8F-4DAC-B595-470A9E32BEE0 3/25
11/10/21, 4:32 PM Help | Advance Steel .NET and COM API | Autodesk
eGridType GridType
eNumberingType NumberingType
bool VerticalSeries
Methods:
This gets an array containing all the elements in the Grid. This included elements that were created as
neighbors to other elements. Check the GridElement class for further details.
int getNumElements()
setNumberingValues(IEnumerable<string> values)
setTextLocation(GridElement.eLocation location)
updateLength(double length)
updateWidth(double width)
Delivered Classes:
Class Grid1D
Methods:
Class GridCircle
Consturctor:
This class has been added to the .NET API in the Autodesk.AdvanceSteel.Modelling namespace.
The GridElement class provides read only access to the grid element's axis and labels.
Enum:
eLocation
Consturctor:
GridElement()
Methods:
This method is used to get the Element's axis as a Curve3d object. The Curves will be transformed from the
given curveCS to WCS; This means that if you want to get the Curve3d objects in the Grid's UCS, you need
https://help.autodesk.com/view/ADSTPR/2021/ENU/?guid=GUID-AF2072A9-3F8F-4DAC-B595-470A9E32BEE0 4/25
11/10/21, 4:32 PM Help | Advance Steel .NET and COM API | Autodesk
to provide curveCS = Matrix3d.kIdentity as a parameter. If you want the Curve3d objects in WCS, you need
to provide curveCS = grid.CS().
Get the text label at the specified location of the grid axis, kStart or kEnd.
This class has been added to the .NET API in the Autodesk.AdvanceSteel.Modelling namespace and it is
derived from PlateBase.
Consturctor:
This class has been added to the .NET API in the Autodesk.AdvanceSteel.Modelling namespace.
It contains a series of statics used to define editable object properties when the object is constructed by a
Joint.
The LifeSign class has been added to the .NET API in the Autodesk.AdvanceSteel.Utils namespace. This
class is used when Advance Steel is called from external processes and signals that Advance Steel is "alive"
and the current operation is calculating.
Methods:
Marks that the current process is calculating; this method must be called from the Advance Steel code
from time to time:
Mark(string currentOperation)
Checks that Advance Steel is still "alive" by checking the current time with last marked time:
bool IsAlive()
The Utils class has been added to the .NET API in the Autodesk.AdvanceSteel.Utils namespace.
Methods:
EnsureGraphicsUpdate()
() - makes sure that AutoCAD receives focus after some Advance Steel changes in order to make sure
AutoCAD is able to refresh the graphics on the screen. Only use this if your code changes are not properly
reflected on the screen (this could sometimes happen when a modeless dialog is opened).
The GeometryUtils class has been added to the .NET API in the Autodesk.AdvanceSteel.Geometry
namespace. This class contains a few static const values.
https://help.autodesk.com/view/ADSTPR/2021/ENU/?guid=GUID-AF2072A9-3F8F-4DAC-B595-470A9E32BEE0 5/25
11/10/21, 4:32 PM Help | Advance Steel .NET and COM API | Autodesk
Consturctor:
DocumentAccess()
This class is intended to be used in conjunction with a "using" statement - on construction it starts
transactions and locks the document, upon destruction it commits the transaction and releases the lock on
the document.
This structure has been added to the .NET API in the Autodesk.AdvanceSteel. ConstructionTypes
namespace.
Members:
FilerObject CreatedObject
int Tag
string JointTransferId
IEnumerable<int> Attributes
IFiler - interface defining an object responsible for serialization (used especially by joints):
int ReadVersion()
int Length()
Dictionary<string> GetItems()
FilerProxy(IFiler pMgdFiler)
Filer : IFiler
Filer()
https://help.autodesk.com/view/ADSTPR/2021/ENU/?guid=GUID-AF2072A9-3F8F-4DAC-B595-470A9E32BEE0 6/25
11/10/21, 4:32 PM Help | Advance Steel .NET and COM API | Autodesk
The IJoint interface has been added to the .NET API in the Autodesk.AdvanceSteel. ConstructionTypes
namespace.
Properties:
ObjectId Id
Methods:
UpdateDrivenConstruction()
The IRuleUIBuilder interface has been added to the .NET API in the Autodesk.AdvanceSteel.
ConstructionTypes namespace. This interface can be used to automatically build Joint pages and controls
just by specifying the control type, default values and page information. When using this, the API user no
longer has to manually create Joint page resources and handle UI interaction.
Enum:
eSelectorType
eSheetDimension
Properties:
int FirstPageBitmapIdx
int SheetPromptId
eSheetDimension SheetDimension
Methods:
https://help.autodesk.com/view/ADSTPR/2021/ENU/?guid=GUID-AF2072A9-3F8F-4DAC-B595-470A9E32BEE0 7/25
11/10/21, 4:32 PM Help | Advance Steel .NET and COM API | Autodesk
Check box
Profile e/material/weld control with the option to filter only certain profile shapes (ex. I, U, W…)
The IUI interface has been added to the .NET API in the Autodesk.AdvanceSteel. ConstructionTypes
namespace.
Enum:
eUIErrorCodes
https://help.autodesk.com/view/ADSTPR/2021/ENU/?guid=GUID-AF2072A9-3F8F-4DAC-B595-470A9E32BEE0 8/25
11/10/21, 4:32 PM Help | Advance Steel .NET and COM API | Autodesk
Properties:
FilerObject[] Drivers
Point3d[] DriversPoints
Methods:
Note: bSingleClick changes the behavior between: One click means selection intention and anything that is
under mouse is instantly selected
The user can select multiple objects, use CTRL or SHIFT + click to add / remove items from selection and
the selection is processed only when the user presses Enter or the right-click.
PrintMessage(int nPrompt)
PrintstringMessage(string message)
SetKeywords(int[] keywords)
int GetSelectedKeyword()
ClearClassFilter()
Matrix3d GetUCS()
DoItSilently(bool bSilent)
bool IsSilentMode()
The IRule interface has been added to the .NET API in the Autodesk.AdvanceSteel. ConstructionTypes
namespace.
Property:
ObjectId JointId
Methods:
https://help.autodesk.com/view/ADSTPR/2021/ENU/?guid=GUID-AF2072A9-3F8F-4DAC-B595-470A9E32BEE0 9/25
11/10/21, 4:32 PM Help | Advance Steel .NET and COM API | Autodesk
Query(IUI ui)
CreateObjects()
Save(IFiler filer)
Load(IFiler filer)
GetRulePages(IRuleUIBuilder builder)
string GetTableName()
Class UserAutoConstructionObject
New enum:
NodeStatus
New methods:
int DetectNode()
SetCurrentDesignModule(string moduleName)
SetOutputReportPath(string path)
SetOutputReportId(int nId)
emptyDrivers()
UpdateDrivenConstruction()
New properties:
bool UseDetailedTorsors
bool CheckIsAvailable
bool PresizeIsAvailable
bool ImportIsAvailable
bool ExportIsAvailable
bool UseLoadCasesIsAvailable
string NSAModuleName
https://help.autodesk.com/view/ADSTPR/2021/ENU/?guid=GUID-AF2072A9-3F8F-4DAC-B595-470A9E32BEE0 10/25
11/10/21, 4:32 PM Help | Advance Steel .NET and COM API | Autodesk
string NSAModuleStandard
IEnumerable<FilerObject> CreatedObjects
IEnumerable<FilerObject> InputObjects
New events:
UpdatedEvent DesignParametersChanged;
UpdatedEvent Failed;
UpdatedEvent Updated
New method:
Changed properties:
Class OpenDatabase
Deleted method:
UnitsSet getUnitSet()
New property:
UnitsSet Units
New method:
New properties:
int MaterialUsedForNumbering
int CoatingUsedForNumbering
int DennotationUsedForNumbering
int ItemNumberUsedForNumbering
int AssemblyUsedForNumbering
int NoteUsedForNumbering
https://help.autodesk.com/view/ADSTPR/2021/ENU/?guid=GUID-AF2072A9-3F8F-4DAC-B595-470A9E32BEE0 11/25
11/10/21, 4:32 PM Help | Advance Steel .NET and COM API | Autodesk
New methods:
Deleted method:
New method:
Deleted method:
New method:
Note: This method activates/deactivates the selected modelViews (activates the clipping planes which clip
the objects inside the modelViews and hide those outside. If the changeViewDir value is 0 the view
direction is not changed. If different than 0, the view direction is changed to that of the ModelView
Deleted method:
Deleted method:
New method:
New method:
bool isDuringXRefEdit ()
Class ObjectId
Added a new constructor from IntPtr - "oldId". This allows conversion from Acad to AS ObjectId and back
(available starting with 2016 R2)
New property:
https://help.autodesk.com/view/ADSTPR/2021/ENU/?guid=GUID-AF2072A9-3F8F-4DAC-B595-470A9E32BEE0 12/25
11/10/21, 4:32 PM Help | Advance Steel .NET and COM API | Autodesk
New property:
New methods:
bool IsMirroring ()
New method:
New properties:
int VertexCount
Point3d []Vertices
VertexInfo []VertexInformation
New methods:
EnsureContinuity ( )
Note: Adjusts vertices so that they match the true line-arc or arc-arc intersections so that we do not get a
self-intersecting error for contours detected from bodies with "recovered" arcs, etc. It does not
add/remove/change the order of vertices, but only slightly moves some of them. This function should not
normally be used, except when constructing polylines from at least an arc and when it is suspected that
the given vertices are not perfectly adjusted.
Note: This function performs a number of useful things - it eliminates coincident vertices, consecutive
collinear edges and arcs on the same circle (with the given tolerance tol, only if changeVertexAllowed is
true) and it also reinitializes the normal and validity of the polyline; it should be called whenever you are
not sure that the polyline is already in a "initialized" state (e.g. you didn't construct it yourself) and it will
be passed to other functions (which may assume that the polyline is initialized).
Deleted methods:
Point3d [] GetVertices ()
VertexInfo [] GetVertexInfo ()
int GetVertexCount ()
Changed methods:
https://help.autodesk.com/view/ADSTPR/2021/ENU/?guid=GUID-AF2072A9-3F8F-4DAC-B595-470A9E32BEE0 13/25
11/10/21, 4:32 PM Help | Advance Steel .NET and COM API | Autodesk
Property change:
New enum:
eXRotation
Actually around an axis parallel to the beam axis contained in the second (depth-defining) plane of the
notch, taken before the rotation around the notch axis is applied:
kAroundNotch
kAroundBeam
New properties:
double XAngle
BeamNotchEx::eXRotation XRotation
double ZAngle
double AxisAngle
Changed methods:
https://help.autodesk.com/view/ADSTPR/2021/ENU/?guid=GUID-AF2072A9-3F8F-4DAC-B595-470A9E32BEE0 14/25
11/10/21, 4:32 PM Help | Advance Steel .NET and COM API | Autodesk
Class ProfileType
New method:
Check if the profile supports k-distance and retrieve it from the profile database if present.
Class PlateBase
New method:
bGetFromBody - if true, the contour is obtained from the plate body; if false, the contour will be calculated
from the plate parameters. This method is faster, but it only takes into account corner features (chamfers
and fillets), and only one for each corner.
bodyContext - if bGetFromBody is true, this context is used for obtaining the body from which the contour
is returned; otherwise, it controls whether fillets and chamfers are taken into account (through its
OuterContours property - all predefined contexts have this set, except kUnNotched).
bCheckWeldingPrep - deprecated.
New method:
Class FeatureObject
Removed:
eFeatureType enum
eFeatureType getFeatureType ()
Name change:
Renamed properties:
NumberOnX -> Nx
NumberOnY -> Ny
Deleted properties/methods:
https://help.autodesk.com/view/ADSTPR/2021/ENU/?guid=GUID-AF2072A9-3F8F-4DAC-B595-470A9E32BEE0 15/25
11/10/21, 4:32 PM Help | Advance Steel .NET and COM API | Autodesk
string AnchorGrade
Changed methods:
Class ScrewBoltPattern
Changed methods:
Changed properties:
Changed methods:
https://help.autodesk.com/view/ADSTPR/2021/ENU/?guid=GUID-AF2072A9-3F8F-4DAC-B595-470A9E32BEE0 16/25
11/10/21, 4:32 PM Help | Advance Steel .NET and COM API | Autodesk
Deleted constructors:
AnchorPattern
AnchorPattern ()
AnchorPattern(FilerObject pFilerObj)
ActiveConstructionElement
ActiveConstructionElement ()
ActiveConstructionElement ( FilerObject
pFilerObj)
BeamNotch
BeamNotch ( FilerObject pTrueObj)
BeamMultiContourNotch
BeamMultiContourNotch ( FilerObject
pTrueObj)
BeamFeatEdge
BeamFeatEdge ( FilerObject pTrueObj)
BeamNotch2Ortho
BeamNotch2Ortho ( FilerObject pTrueObj)
BeamNotchEx
BeamNotchEx ( FilerObject pTrueObj)
BeamShortening
BeamShortening ( FilerObject pTrueObj)
BeamTapered
BeamTapered ()
https://help.autodesk.com/view/ADSTPR/2021/ENU/?guid=GUID-AF2072A9-3F8F-4DAC-B595-470A9E32BEE0 17/25
11/10/21, 4:32 PM Help | Advance Steel .NET and COM API | Autodesk
BeamTapered ( FilerObject pTrueObj)
BentBeam
BentBeam ()
BoundedRectArranger
BoundedRectArranger ()
BoundedRectArranger ( FilerObject
pTrueObj)
BuildingStructureItem
BuildingStructureItem ()
BuildingStructureItem ( FilerObject
pTrueObj)
BuildingStructureManager
BuildingStructureManager ()
BuildingStructureManager ( FilerObject
pTrueObj)
BuildingStructureManagerListObject
BuildingStructureManagerListObject ()
BuildingStructureManagerListObject (
FilerObject pTrueObj)
BuildingStructureObject
BuildingStructureObject ()
BuildingStructureObject ( FilerObject
pTrueObj)
BuildingStructureTreeObject
BuildingStructureTreeObject ()
BuildingStructureTreeObject (
FilerObject pTrueObj)
BuildingStructureTreeObjectData
BuildingStructureTreeObjectData (
FilerObject pTrueObj)
CircleArranger
CircleArranger ()
https://help.autodesk.com/view/ADSTPR/2021/ENU/?guid=GUID-AF2072A9-3F8F-4DAC-B595-470A9E32BEE0 18/25
11/10/21, 4:32 PM Help | Advance Steel .NET and COM API | Autodesk
CircleScrewBoltPattern
CircleScrewBoltPattern ()
CircleScrewBoltPattern ( FilerObject
pTrueObj)
CompoundStraightBeam
CompoundStraightBeam ()
CompoundStraightBeam ( FilerObject
pTrueObj)
ConcreteBeam
ConcreteBeam ()
ConcreteBeamBent
ConcreteBeam Bent ()
Connection
Connection ()
ConnectionHoleBeam
ConnectionHoleBeam ()
ConnectionHoleBeam ( FilerObject
pTrueObj)
ConnectionHolePlate
ConnectionHolePlate ( FilerObject
pTrueObj)
Connector
Connector ( FilerObject pTrueObj)
ExtendedHole
ExtendedHole ( FilerObject pTrueObj)
FinitRectScrewBoltPattern
FinitRectScrewBoltPattern ()
FinitRectScrewBoltPattern ( FilerObject
pTrueObj)
https://help.autodesk.com/view/ADSTPR/2021/ENU/?guid=GUID-AF2072A9-3F8F-4DAC-B595-470A9E32BEE0 19/25
11/10/21, 4:32 PM Help | Advance Steel .NET and COM API | Autodesk
FoldedPlate
FoldedPlate ()
Grating
Grating ()
InfinitMidScrewBoltPattern
InfinitMidScrewBoltPattern ()
InfinitMidScrewBoltPattern ( FilerObject
pTrueObj)
InfinitRectScrewBoltPattern
InfinitRectScrewBoltPattern ()
InfinitRectScrewBoltPattern (
FilerObject pTrueObj)
LevelObject
LevelObject ()
ModelViewObject
ModelViewObject ()
PassiveConstructionObject
PassiveConstructionObject ()
PassiveConstructionObject ( FilerObject
pFilerObj)
Plate
Plate ()
PlateContourNotch
PlateContourNotch ()
PlateContourNotch ( FilerObject
pTrueObj)
PlateFeatContour
PlateFeatContour ( FilerObject pTrueObj)
PlateFeatShortening
https://help.autodesk.com/view/ADSTPR/2021/ENU/?guid=GUID-AF2072A9-3F8F-4DAC-B595-470A9E32BEE0 20/25
11/10/21, 4:32 PM Help | Advance Steel .NET and COM API | Autodesk
PlateFeatShortening ( FilerObject
pTrueObj)
PlateFeatVertFillet
PlateFeatVertFillet ( FilerObject
pTrueObj)
PlateFeatWeldFillet
PlateFeatWeldFillet ( FilerObject
pTrueObj)
PlateFold
PlateFold ()
PlateFoldRelation
PlateFoldRelation ()
PlateFoldRelation ( FilerObject
pTrueObj)
PolyBeam
PolyBeam ()
ProjectData
SetNative ( ProjectData pNative)
ProjectData GetNative ()
RectangularArranger
RectangularArranger ()
RectangularArranger ( FilerObject
pTrueObj)
Slab
Slab ()
SpecialPart
SpecialPart ()
StraightBeam
StraightBeam ()
https://help.autodesk.com/view/ADSTPR/2021/ENU/?guid=GUID-AF2072A9-3F8F-4DAC-B595-470A9E32BEE0 21/25
11/10/21, 4:32 PM Help | Advance Steel .NET and COM API | Autodesk
StraightBeam ( FilerObject pTrueObj)
StudShear
StudShear ( FilerObject pTrueObj)
TimberBeam
TimberBeam ()
UnfoldedStraightBeam
UnfoldedStraightBeam ()
UnfoldedStraightBeam ( FilerObject
pTrueObj)
UserAutoConstructionObject
UserAutoConstructionObject ()
UserAutoConstructionObject ( FilerObject
pTrueObj)
UserDefinedPoint
UserDefinedPoint ()
Wall
Wall ()
WeldPoint
WeldPoint ()
WorkingPlane
WorkingPlane ()
New constructors:
https://help.autodesk.com/view/ADSTPR/2021/ENU/?guid=GUID-AF2072A9-3F8F-4DAC-B595-470A9E32BEE0 22/25
11/10/21, 4:32 PM Help | Advance Steel .NET and COM API | Autodesk
BeamFeatEdge BuildCornerCutFeature (
Beam pBeam, Point3d pickPtWCS,
eFilletTypes filletType, double dEdge1,
double dEdge2)
UserAutoConstructionObject
UserAutoConstructionObject ( string
strRuleName, Dictionary < FilerObject ,
UserDefinedPoint
UserDefinedPoint ( Point3d pt)
SteelAutomation library
kBoltPatternCommonSinglePartNumber
kBoltPatternCommonSinglePartPrefix
Removed method:
Interface IGrating
New properties:
https://help.autodesk.com/view/ADSTPR/2021/ENU/?guid=GUID-AF2072A9-3F8F-4DAC-B595-470A9E32BEE0 23/25
11/10/21, 4:32 PM Help | Advance Steel .NET and COM API | Autodesk
HRESULT EDPointGrips( [out] IPoint3d** top, [out] IPoint3d** bottom, [out, retval] int*
nEDPointGrips)
Interface IAstUI
New method:
Interface IJoint
New method:
[in]IPoint3d *ptCenter,
[in]double dLength, [out, retval] IGrating** pGrating)
https://help.autodesk.com/view/ADSTPR/2021/ENU/?guid=GUID-AF2072A9-3F8F-4DAC-B595-470A9E32BEE0 24/25
11/10/21, 4:32 PM Help | Advance Steel .NET and COM API | Autodesk
Except where otherwise noted, this work is licensed under a Creative Commons Attribution-
NonCommercial-ShareAlike 3.0 Unported License. Please see the Autodesk Creative Commons FAQ
for more information.
© 2021 Autodesk Inc. All rights reserved
https://help.autodesk.com/view/ADSTPR/2021/ENU/?guid=GUID-AF2072A9-3F8F-4DAC-B595-470A9E32BEE0 25/25