The factory is retrieved using the method of the product.
- Example:
-
The following example retrieves the structure factory object from the
oProduct Product.
Dim oFactory as AnyObject Set oFactory = oProduct.GetTechnologicalObject("StructureObjectFactory")Methods
- Func AddDefExtFromCoordinates( iCoord, iOffset) As
-
Creates a member extremity definition object from coordinates and an offset
value.
- Parameters:
-
- iCoord
- The coordinates of the extremity dd>
- iOffset
- The offset on this extremity dd>
- Func AddDefExtFromReference( iReference, iOffset) As
-
Creates a member extremity definition object from an existing object in the model
and an offset value.
- Parameters:
-
- iReference
- The reference object defining the extremity dd>
- iOffset
- The offset on this extremity dd>
- Func AddDefExtOnMember( iMember, iSide, iDistance, iOffset) As
-
Creates a member extremity definition object from another member object, its
side, a distance on it and an offset.
- Parameters:
-
- iMember
- The member used to define the extremity dd>
- iSide
- The side of the previous member used to define the distance along the member dd>
- iDistance
- The distance along the selected member dd>
- iOffset
- The offset on the extremity dd>
- Func AddDimMember( iSection, iAnchorName, iAngle, iDefExtr1, iMathDirection, iLength, iType) As
-
Creates a dimension member object from a point and a mathematical definition of
a direction.
- Parameters:
-
- iSection
- The section object defining the profile for the member dd>
- iAnchorName
- The name of the anchor point dd>
- iAngle
- The orientation of the section on its support dd>
- iDefExtr1
- The extremity object defining the start limit of the member dd>
- iMathDirection
- The mathematical definition of the direction dd>
- iLength
- The length of the member dd>
- iType
- The type of the member. This type is user defined. dd>
- Func AddDimMemberOnPlane( iSection, iAnchorName, iAngle, iDefExtr1, iDefExtr2, iDirection, iMode, iLength, iType) As
-
Creates a dimension member object on a plane following a mathematical
definition of a plane.
- Parameters:
-
- iSection
- The section object defining the profile for the member dd>
- iAnchorName
- The name of the anchor point dd>
- iAngle
- The orientation of the section on its support dd>
- iDefExtr1
- The extremity object defining the start limit of the member dd>
- iDefExtr2
- The extremity object defining the end limit of the member dd>
- iDirection
- The direction object. It can be a line or a plane dd>
- iMode
- The way the member is created with respect to the direction plane. Useless if if the direction is not a plane. dd>
- iOrientation
- The orientation of the member dd>
- iLength
- The length of the member dd>
- iType
- The type of the member. This type is user defined. dd>
- Func AddDimMemberPtPt( iSection, iAnchorName, iAngle, iDefExtr1, iDefExtr2, iLength, iType) As
-
Creates a dimension member object from two given points.
- Parameters:
-
- iSection
- The section object defining the profile for the member dd>
- iAnchorName
- The name of the anchor point dd>
- iAngle
- The orientation of the section on its support dd>
- iDefExtr1
- The extremity object defining the start limit of the member dd>
- iDefExtr2
- The extremity object defining the end limit of the member dd>
- iLength
- The length of the member dd>
- iType
- The type of the member. This type is user defined. dd>
- Func AddDimMemberWithSupport( iSection, iAnchorName, iAngle, iDefExtr1, iDefExtr2, iDirection, iMode, iOrientation, iLength, iType) As
-
Creates a dimension member object using a support object.
- Parameters:
-
- iSection
- The section object defining the profile for the member dd>
- iAnchorName
- The name of the anchor point dd>
- iAngle
- The orientation of the section on its support dd>
- iDefExtr1
- The extremity object defining the start limit of the member dd>
- iDefExtr2
- The extremity object defining the end limit of the member. In case of line for a support, this parameter is not taking into account. dd>
- iDirection
- The direction object. It can be a line or a plane dd>
- iMode
- The way the member is created with respect to the direction plane. Useless if if the direction is not a plane. dd>
- iOrientation
- The orientation of the member dd>
- iLength
- The length of the member dd>
- iType
- The type of the member dd>
- Func AddMember( iSection, iAnchorName, iAngle, iDefExtr1, iDefExtr2, iType) As
-
Creates a member object.
- Parameters:
-
- iSection
- The section object defining the profile for the member dd>
- iAnchorName
- The name of the anchor point dd>
- iAngle
- The orientation of the section on its support dd>
- iDefExtr1
- The extremity object defining the start limit of the member dd>
- iDefExtr2
- The extremity object defining the end limit of the member dd>
- iType
- The type of the member. This type is user defined. dd>
- Func AddMemberFromDir( iSection, iAnchorName, iAngle, iDefExtr1, iDefExtr2, iDirection, iMode, iType) As
-
Creates a member object using a direction object as a line or a plane.
- Parameters:
-
- iSection
- The section object defining the profile for the member dd>
- iAnchorName
- The name of the anchor point dd>
- iAngle
- The orientation of the section on its support dd>
- iDefExtr1
- The extremity object defining the start limit of the member dd>
- iDefExtr2
- The extremity object defining the end limit of the member dd>
- iDirection
- The direction object used to orientate the support. The direction object can be a plane or a line. dd>
- iMode
- The way the member is created with respect to the direction plane. Useless if if the direction is not a plane. dd>
- iType
- The type of the member. This type is user defined. dd>
- Func AddMemberFromMathDir( iSection, iAnchorName, iAngle, iDefExtr1, iDefExtr2, iDirection, iType) As
-
Creates a member object using a mathematical definition of the direction.
- Parameters:
-
- iSection
- The section object defining the profile for the member dd>
- iAnchorName
- The name of the anchor point dd>
- iAngle
- The orientation of the section on its support dd>
- iDefExtr1
- The extremity object defining the start limit of the member dd>
- iDefExtr2
- The extremity object defining the end limit of the member dd>
- iDirection
- The mathematical definition of the direction dd>
- iType
- The type of the member. This type is user defined. dd>
- Func AddMemberFromMathPlane( iSection, iAnchorName, iAngle, iDefExtr1, iDefExtr2, iPlane, iPlaneMode, iType) As
-
Creates a member object from a mathematical definition of a plane.
- Parameters:
-
- iSection
- The section object defining the profile for the member dd>
- iAnchorName
- The name of the anchor point dd>
- iAngle
- The orientation of the section on its support dd>
- iDefExtr1
- The extremity object defining the start limit of the member dd>
- iDefExtr2
- The extremity object defining the end limit of the member dd>
- iDirection
- The mathematical definition of a plane dd>
- iPlaneMode
- The way the member is created with respect to the direction plane. Useless if if the direction is not a plane. dd>
- iType
- The type of the member. This type is user defined. dd>
- Func AddMemberOnSupport( iSection, iAnchorName, iAngle, iSupport, iDefExtr1, iDefExtr2, iType) As
-
Creates a member object on a given support.
- Parameters:
-
- iSection
- The section object defining the profile for the member dd>
- iAnchorName
- The name of the anchor point dd>
- iAngle
- The orientation of the section on its support dd>
- iSupport
- The support for the member. The support can be a line or a curve dd>
- iDefExtr1
- The extremity object defining the start limit of the member. It can be NULL. dd>
- iDefExtr2
- The extremity object defining the end limit of the member. It can be NULL. dd>
- iType
- The type of the member. This type is user defined. dd>
- Func AddMemberOnSupportWithRef( iSection, iAnchorName, iSurfRef, iAngle, iSupport, iDefExtr1, iDefExtr2, iType) As
-
Creates a member object on a given support object and a surface used
to define the orientation of the section.
The surface reference defines the relative orientation on which you
add an angle.
- Parameters:
-
- iSection
- The section object defining the profile for the member dd>
- iAnchorName
- The name of the anchor point dd>
- iReference
- The reference to define the zero orientation of the section. The section follows this guide line along the support of the member. dd>
- iAngle
- The orientation of the section on its support dd>
- iSupport
- The support for the member. The support can be a line or a curve dd>
- iDefExtr1
- The extremity object defining the start limit of the member. It can be NULL. dd>
- iDefExtr2
- The extremity object defining the end limit of the member. It can be NULL. dd>
- iType
- The type of the member. This type is user defined. dd>
- Func AddPlate( iSupport, iThickness, iOrientation, iContour, iOffset, iType) As
-
Creates a plate from a contour defined by coordinates.
- Parameters:
-
- iSupport
- The plane defining the support of the plate dd>
- iThickness
- The standard thickness of the plate. The thickness follows the standard orientation of the support dd>
- iOrientation
- The material orientation of the plate dd>
- iContour
- The array containing all objects defining the contour of the plate dd>
- iOffset
- The offset applies to the support of the plate dd>
- iType
- The type of the plate. This information is user defined. It is added as an attribute on the plate. dd>
- Func AddPlateOnSurface( iThickness, iOrientation, iSurface, iOffset, iType) As
-
Creates a plate from a surface.
- Parameters:
-
- iThickness
- The standard thickness of the plate. The thickness follows the standard orientation of the support dd>
- iOrientation
- The material orientation of the plate dd>
- iSurface
- The surface on which plate is to be created. If Surface path is NULL then method will return E_INVALID_ARG dd>
- iOffset
- The offset applies to the support of the plate dd>
- iType
- The type of the plate. This information is user defined. It is added as an attribute on the plate. dd>
- Func AddRectangularEndPlate( iMember, iSide, iThickness, iHeight, iWidth, iOrientation, iType) As
-
Creates a rectangular end plate on an extremity of a given member.
- Parameters:
-
- iMember
- The member on which the end-plate will be created dd>
- iSide
- The side of the selected member dd>
- iThickness
- The standard thickness of the plate. The thickness follows the standard orientation of the support dd>
- iHeight
- The height of the plate dd>
- iWidth
- The width of the plate dd>
- iOrientation
- The material orientation of the plate dd>
- iType
- The type of the plate. This information is user defined. It is added as an attribute on the plate. dd>
- Func AddSection( iPart) As
-
Creates a section object from part document. This part must aggregate a
sketch object defining the contour of the section.
The contour of the section have to be closed and may contain several
domains.
- Parameters:
-
- iPart
- The part document where the sketch of the section is defined dd>
- Func AddSectionFromCatalog( iPart, iCatalogName, iFamilyName, iSectionName) As
-
Creates a section object from part document. This part must aggregate a
sketch object defining the contour of the section. This service gives you
to define where the resolved part comes from to allow a replace mechanism.
The contour of the section have to be closed and may contain several
domains.
- Parameters:
-
- iCatalogName
- The catalog name where the document comes from dd>
- iFamilyName
- The family name where the document comes from dd>
- iSectionName
- The section name where the document comes from dd>
- iPart
- The part document where the sketch of the section is defined dd>
- Func ExtendProductAsFoundation( iClass) As
-
Extend an assembly as a structure foundation assembly.
- Parameters:
-
- iClass
- the name of the user class dd>