Solid Edge Assembly Type Library
AddParallelByDistance Method
This argument is an AsmRefPlane object.
Specifies the distance from the parent plane at which to create reference plane. The value is always positive, in the direction specified by NormalSide.
Member of the ReferenceElementConstants constant set that specifies the normal side of the new reference plane with respect to the ParentPlane.
An existing reference plane whose intersection with the ParentPlane establishes the axis of the reference plane.
Member of the ReferenceElementConstants constant set that defines the origin of the pivot axis.
Specifies whether the reference plane should be a local or global reference plane. If not specified, the default is to create a local
Description
Creates a RefPlane object that is parallet to another plane.
Syntax
Visual Basic
Public Function AddParallelByDistance( _
   ByVal ParentPlane As Object, _
   ByVal Distance As Double, _
   Optional ByVal NormalSide As Variant, _
   Optional ByVal Pivot As Variant, _
   Optional ByVal PivotOrigin As Variant, _
   Optional ByVal Local As Variant _
) As AsmRefPlane
Parameters
ParentPlane
This argument is an AsmRefPlane object.
Distance
Specifies the distance from the parent plane at which to create reference plane. The value is always positive, in the direction specified by NormalSide.
NormalSide
Member of the ReferenceElementConstants constant set that specifies the normal side of the new reference plane with respect to the ParentPlane.
Pivot
An existing reference plane whose intersection with the ParentPlane establishes the axis of the reference plane.
PivotOrigin
Member of the ReferenceElementConstants constant set that defines the origin of the pivot axis.
Local
Specifies whether the reference plane should be a local or global reference plane. If not specified, the default is to create a local
Remarks
This method creates an AsmRefPlane object that is parallel to another plane (parent plane). The parent plane can be another reference plane or the planar face of a feature. Through the AddParallelByDistance method, the reference plane can be offset at a specified distance to either side of the parent plane. Optionally, the reference plane can be set to pivot relative to a specified edge on the parent plane. The specified edge affects the x, y orientation of the reference plane; any feature with a profile on the reference plane is also affected. If NormalSide is igReverseNormalSide, then the distance is taken to be negative of the given value. If Distance is negative, NormalSide is ignored.
See Also

AsmRefPlanes Collection  | AsmRefPlanes Members

Send comments on this topic.