Click or drag to resize

IManagedConstraintsAddSymmetry Method

Adds or modifies a symmetry assembly constraint.

Namespace:  Autodesk.iLogic.Interfaces
Assembly:  Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 23.0
Syntax
Function AddSymmetry ( 
	constraintName As String,
	component1 As ComponentArgument,
	entityName1 As String,
	component2 As ComponentArgument,
	entityName2 As String,
	symmetryPlaneComponent As ComponentArgument,
	symmetryPlane As String,
	Optional normalsOpposed As Boolean = true,
	Optional e1InferredType As InferredTypeEnum = InferredTypeEnum.kNoInference,
	Optional e2InferredType As InferredTypeEnum = InferredTypeEnum.kNoInference
) As IManagedConstraint

Parameters

constraintName
Type: SystemString
component1
Type: Autodesk.iLogic.TypesComponentArgument
The occurrence that contains the first entity. Examples: "Part:1" or {"Subassembly:1", "Part:1"}.
entityName1
Type: SystemString
The first entity name. This can be named or work geometry.
component2
Type: Autodesk.iLogic.TypesComponentArgument
The occurrence that contains the second entity. Examples: "Part:2" or {"Subassembly:2", "Part:2"}.
entityName2
Type: SystemString
The second entity name. This can be named or work geometry.
symmetryPlaneComponent
Type: Autodesk.iLogic.TypesComponentArgument
The occurrence that contains the symmetry plane.
symmetryPlane
Type: SystemString
The symmetry plane name. This can be a planar face or a work plane.
normalsOpposed (Optional)
Type: SystemBoolean
This argument only applies when the two entities are planar (planar face or work plane) and defines if the normal of the planar entities are oriented so they are opposed or aligned.
e1InferredType (Optional)
Type: InferredTypeEnum
Optional input constant that specifies how the geometry of the first entity is to be interpreted.
e2InferredType (Optional)
Type: InferredTypeEnum
Optional input constant that specifies how the geometry of the second entity is to be interpreted.

Return Value

Type: IManagedConstraint
The constraint.
See Also