Click or drag to resize

IManagedComponentsAddContentCenterPart Method (String, String, String, String, PointOrMatrix, NullableBoolean, NullableBoolean, StringOrAsset)

Adds a standard Content Center part to an assembly. The part is specified with a category path, a family name, and a Designation string.

Namespace:  Autodesk.iLogic.Interfaces
Assembly:  Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 23.0
Syntax
Function AddContentCenterPart ( 
	occName As String,
	ccPath As String,
	familyName As String,
	designation As String,
	Optional position As PointOrMatrix = Nothing,
	Optional grounded As Nullable(Of Boolean) = Nothing,
	Optional visible As Nullable(Of Boolean) = Nothing,
	Optional appearance As StringOrAsset = Nothing
) As ManagedComponentOccurrence

Parameters

occName
Type: SystemString
Component occurrence name.
ccPath
Type: SystemString
Category path in the Content Center tree view.
familyName
Type: SystemString
Content center family name.
designation
Type: SystemString
The Designation value. This is the cell value found in the column that has the internal name "DESIGNATION". (You can see the internal name in the table by hovering over the column header.)
position (Optional)
Type: Autodesk.iLogic.TypesPointOrMatrix
Position and orientation of the occurrence (specified as a DocumentUnitsPoint or DocumentUnitsMatrix).
grounded (Optional)
Type: SystemNullableBoolean
Occurrence groundedness. Default is false.
visible (Optional)
Type: SystemNullableBoolean
Occurrence visibility. Default is true.
appearance (Optional)
Type: Autodesk.iLogic.TypesStringOrAsset
Occurrence appearance. Default is As Material.

Return Value

Type: ManagedComponentOccurrence
The component occurrence.
Remarks
Only standard Content Center parts are supported.
See Also