pycatia.structure_interfaces.str_object_factory¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-09-25 14:34:21.593357
Warning
The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.
- class pycatia.structure_interfaces.str_object_factory.StrObjectFactory(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectStrObjectFactoryRepresents the factory object for all the structure objects.The factory is retrieved using the Product.GetTechnologicalObject method of theproduct.Example:The following example retrieves the structure factory object from theoProduct Product.Dim oFactory as AnyObjectSet oFactory = oProduct.GetTechnologicalObject(“StructureObjectFactory”)Method IndexAddDefExtFromCoordinatesCreates a member extremity definition object from coordinates and anoffset value.AddDefExtFromReferenceCreates a member extremity definition object from an existing object inthe model and an offset value.AddDefExtOnMemberCreates a member extremity definition object from another memberobject, its side, a distance on it and an offset.AddDimMemberCreates a dimension member object from a point and a mathematicaldefinition of a direction.AddDimMemberOnPlaneCreates a dimension member object on a plane following a mathematicaldefinition of a plane.AddDimMemberPtPtCreates a dimension member object from two given points.AddDimMemberWithSupportCreates a dimension member object using a support object.AddMemberCreates a member object.AddMemberFromDirCreates a member object using a direction object as a line or a plane.AddMemberFromMathDirCreates a member object using a mathematical definition of thedirection.AddMemberFromMathPlaneCreates a member object from a mathematical definition of a plane.AddMemberOnSupportCreates a member object on a given support.AddMemberOnSupportWithRefCreates a member object on a given support object and a surface used todefine the orientation of the section.AddPlateCreates a plate from a contour defined by coordinates.AddPlateOnSurfaceCreates a plate from a surface.AddRectangularEndPlateCreates a rectangular end plate on an extremity of a given member.AddSectionCreates a section object from part document.AddSectionFromCatalogCreates a section object from part document.ExtendProductAsFoundationExtend an assembly as a structure foundation assembly.Methodso Func AddDefExtFromCoordinates( CATSafeArrayVariant iCoord,double iOffset) As AnyObjectCreates a member extremity definition object from coordinates and an offsetvalue.Parameters:iCoordThe coordinates of the extremityiOffsetThe offset on this extremityo Func AddDefExtFromReference( Reference iReference,double iOffset) As AnyObjectCreates a member extremity definition object from an existing object in themodel and an offset value.Parameters:iReferenceThe reference object defining the extremityiOffsetThe offset on this extremityo Func AddDefExtOnMember( StrMember iMember,CatStrMemberExtremity iSide,double iDistance,double iOffset) As AnyObjectCreates a member extremity definition object from another member object,its side, a distance on it and an offset.Parameters:iMemberThe member used to define the extremityiSideThe side of the previous member used to define the distance alongthe memberiDistanceThe distance along the selected memberiOffsetThe offset on the extremityo Func AddDimMember( StrSection iSection,CATBSTR iAnchorName,double iAngle,AnyObject iDefExtr1,CATSafeArrayVariant iMathDirection,double iLength,CATBSTR iType) As StrMemberCreates a dimension member object from a point and a mathematicaldefinition of a direction.Parameters:iSectionThe section object defining the profile for the memberiAnchorNameThe name of the anchor pointiAngleThe orientation of the section on its supportiDefExtr1The extremity object defining the start limit of the memberiMathDirectionThe mathematical definition of the directioniLengthThe length of the memberiTypeThe type of the member. This type is user defined.o Func AddDimMemberOnPlane( StrSection iSection,CATBSTR iAnchorName,double iAngle,AnyObject iDefExtr1,AnyObject iDefExtr2,CATSafeArrayVariant iDirection,CatStrPlaneMode iMode,double iLength,CATBSTR iType) As StrMemberCreates a dimension member object on a plane following a mathematicaldefinition of a plane.Parameters:iSectionThe section object defining the profile for the memberiAnchorNameThe name of the anchor pointiAngleThe orientation of the section on its supportiDefExtr1The extremity object defining the start limit of the memberiDefExtr2The extremity object defining the end limit of the memberiDirectionThe direction object. It can be a line or a planeiModeThe way the member is created with respect to the direction plane.Useless if if the direction is not a plane.iOrientationThe orientation of the memberiLengthThe length of the memberiTypeThe type of the member. This type is user defined.o Func AddDimMemberPtPt( StrSection iSection,CATBSTR iAnchorName,double iAngle,AnyObject iDefExtr1,AnyObject iDefExtr2,double iLength,CATBSTR iType) As StrMemberCreates a dimension member object from two given points.Parameters:iSectionThe section object defining the profile for the memberiAnchorNameThe name of the anchor pointiAngleThe orientation of the section on its supportiDefExtr1The extremity object defining the start limit of the memberiDefExtr2The extremity object defining the end limit of the memberiLengthThe length of the memberiTypeThe type of the member. This type is user defined.o Func AddDimMemberWithSupport( StrSection iSection,CATBSTR iAnchorName,double iAngle,AnyObject iDefExtr1,AnyObject iDefExtr2,Reference iDirection,CatStrPlaneMode iMode,CatStrMaterialOrientation iOrientation,double iLength,CATBSTR iType) As StrMemberCreates a dimension member object using a support object.Parameters:iSectionThe section object defining the profile for the memberiAnchorNameThe name of the anchor pointiAngleThe orientation of the section on its supportiDefExtr1The extremity object defining the start limit of the memberiDefExtr2The extremity object defining the end limit of the member. In caseof line for a support, this parameter is not taking into account.iDirectionThe direction object. It can be a line or a planeiModeThe way the member is created with respect to the direction plane.Useless if if the direction is not a plane.iOrientationThe orientation of the memberiLengthThe length of the memberiTypeThe type of the membero Func AddMember( StrSection iSection,CATBSTR iAnchorName,double iAngle,AnyObject iDefExtr1,AnyObject iDefExtr2,CATBSTR iType) As StrMemberCreates a member object.Parameters:iSectionThe section object defining the profile for the memberiAnchorNameThe name of the anchor pointiAngleThe orientation of the section on its supportiDefExtr1The extremity object defining the start limit of the memberiDefExtr2The extremity object defining the end limit of the memberiTypeThe type of the member. This type is user defined.o Func AddMemberFromDir( StrSection iSection,CATBSTR iAnchorName,double iAngle,AnyObject iDefExtr1,AnyObject iDefExtr2,Reference iDirection,CatStrPlaneMode iMode,CATBSTR iType) As StrMemberCreates a member object using a direction object as a line or aplane.Parameters:iSectionThe section object defining the profile for the memberiAnchorNameThe name of the anchor pointiAngleThe orientation of the section on its supportiDefExtr1The extremity object defining the start limit of the memberiDefExtr2The extremity object defining the end limit of the memberiDirectionThe direction object used to orientate the support. The directionobject can be a plane or a line.iModeThe way the member is created with respect to the direction plane.Useless if if the direction is not a plane.iTypeThe type of the member. This type is user defined.o Func AddMemberFromMathDir( StrSection iSection,CATBSTR iAnchorName,double iAngle,AnyObject iDefExtr1,AnyObject iDefExtr2,CATSafeArrayVariant iDirection,CATBSTR iType) As StrMemberCreates a member object using a mathematical definition of thedirection.Parameters:iSectionThe section object defining the profile for the memberiAnchorNameThe name of the anchor pointiAngleThe orientation of the section on its supportiDefExtr1The extremity object defining the start limit of the memberiDefExtr2The extremity object defining the end limit of the memberiDirectionThe mathematical definition of the directioniTypeThe type of the member. This type is user defined.o Func AddMemberFromMathPlane( StrSection iSection,CATBSTR iAnchorName,double iAngle,AnyObject iDefExtr1,AnyObject iDefExtr2,CATSafeArrayVariant iPlane,CatStrPlaneMode iPlaneMode,CATBSTR iType) As StrMemberCreates a member object from a mathematical definition of aplane.Parameters:iSectionThe section object defining the profile for the memberiAnchorNameThe name of the anchor pointiAngleThe orientation of the section on its supportiDefExtr1The extremity object defining the start limit of the memberiDefExtr2The extremity object defining the end limit of the memberiDirectionThe mathematical definition of a planeiPlaneModeThe way the member is created with respect to the direction plane.Useless if if the direction is not a plane.iTypeThe type of the member. This type is user defined.o Func AddMemberOnSupport( StrSection iSection,CATBSTR iAnchorName,double iAngle,Reference iSupport,AnyObject iDefExtr1,AnyObject iDefExtr2,CATBSTR iType) As StrMemberCreates a member object on a given support.Parameters:iSectionThe section object defining the profile for the memberiAnchorNameThe name of the anchor pointiAngleThe orientation of the section on its supportiSupportThe support for the member. The support can be a line or a curveiDefExtr1The extremity object defining the start limit of the member. It canbe NULL.iDefExtr2The extremity object defining the end limit of the member. It canbe NULL.iTypeThe type of the member. This type is user defined.o Func AddMemberOnSupportWithRef( StrSection iSection,CATBSTR iAnchorName,Reference iSurfRef,double iAngle,Reference iSupport,AnyObject iDefExtr1,AnyObject iDefExtr2,CATBSTR iType) As StrMemberCreates a member object on a given support object and a surface used todefine the orientation of the section. The surface reference defines therelative orientation on which you add an angle.Parameters:iSectionThe section object defining the profile for the memberiAnchorNameThe name of the anchor pointiReferenceThe reference to define the zero orientation of the section. Thesection follows this guide line along the support of the member.iAngleThe orientation of the section on its supportiSupportThe support for the member. The support can be a line or a curveiDefExtr1The extremity object defining the start limit of the member. It canbe NULL.iDefExtr2The extremity object defining the end limit of the member. It canbe NULL.iTypeThe type of the member. This type is user defined.o Func AddPlate( Reference iSupport,double iThickness,CatStrMaterialOrientation iOrientation,CATSafeArrayVariant iContour,double iOffset,CATBSTR iType) As StrPlateCreates a plate from a contour defined by coordinates.Parameters:iSupportThe plane defining the support of the plateiThicknessThe standard thickness of the plate. The thickness follows thestandard orientation of the supportiOrientationThe material orientation of the plateiContourThe array containing all objects defining the contour of the plateiOffsetThe offset applies to the support of the plateiTypeThe type of the plate. This information is user defined. It isadded as an attribute on the plate.o Func AddPlateOnSurface( double iThickness,CatStrMaterialOrientation iOrientation,Reference iSurface,double iOffset,CATBSTR iType) As StrPlateCreates a plate from a surface.Parameters:iThicknessThe standard thickness of the plate. The thickness follows thestandard orientation of the supportiOrientationThe material orientation of the plateiSurfaceThe surface on which plate is to be created. If Surface path isNULL then method will return E_INVALID_ARGiOffsetThe offset applies to the support of the plateiTypeThe type of the plate. This information is user defined. It isadded as an attribute on the plate.o Func AddRectangularEndPlate( StrMember iMember,CatStrMemberExtremity iSide,double iThickness,double iHeight,double iWidth,CatStrMaterialOrientation iOrientation,CATBSTR iType) As StrPlateCreates a rectangular end plate on an extremity of a givenmember.Parameters:iMemberThe member on which the end-plate will be creatediSideThe side of the selected memberiThicknessThe standard thickness of the plate. The thickness follows thestandard orientation of the supportiHeightThe height of the plateiWidthThe width of the plateiOrientationThe material orientation of the plateiTypeThe type of the plate. This information is user defined. It isadded as an attribute on the plate.o Func AddSection( Document iPart) As StrSectionCreates a section object from part document. This part must aggregate asketch object defining the contour of the section. The contour of the sectionhave to be closed and may contain several domains.Parameters:iPartThe part document where the sketch of the section isdefinedo Func AddSectionFromCatalog( Document iPart,CATBSTR iCatalogName,CATBSTR iFamilyName,CATBSTR iSectionName) As StrSectionCreates a section object from part document. This part must aggregate asketch object defining the contour of the section. This service gives you todefine where the resolved part comes from to allow a replace mechanism. Thecontour of the section have to be closed and may contain severaldomains.Parameters:iCatalogNameThe catalog name where the document comes fromiFamilyNameThe family name where the document comes fromiSectionNameThe section name where the document comes fromiPartThe part document where the sketch of the section isdefinedo Func ExtendProductAsFoundation( CATBSTR iClass) AsStrFoundationExtend an assembly as a structure foundation assembly.Parameters:iClassthe name of the user classCopyright © 1999-2011, Dassault Systèmes. All rights reserved.- add_def_ext_from_coordinates(i_coord: tuple, i_offset: float) AnyObject ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func AddDefExtFromCoordinates(CATSafeArrayVariant iCoord,double iOffset) As AnyObjectCreates a member extremity definition object from coordinates and an offsetvalue.Parameters:iCoordThe coordinates of the extremityiOffsetThe offset on this extremity
- Parameters:
i_coord (tuple) –
i_offset (float) –
- Return type:
- add_def_ext_from_reference(i_reference: Reference, i_offset: float) AnyObject ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func AddDefExtFromReference(Reference iReference,double iOffset) As AnyObjectCreates a member extremity definition object from an existing object in themodel and an offset value.Parameters:iReferenceThe reference object defining the extremityiOffsetThe offset on this extremity
- add_def_ext_on_member(i_member: StrMember, i_side: int, i_distance: float, i_offset: float) AnyObject ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func AddDefExtOnMember(StrMember iMember,CatStrMemberExtremity iSide,double iDistance,double iOffset) As AnyObjectCreates a member extremity definition object from another member object,its side, a distance on it and an offset.Parameters:iMemberThe member used to define the extremityiSideThe side of the previous member used to define the distance alongthe memberiDistanceThe distance along the selected memberiOffsetThe offset on the extremity
- add_dim_member(i_section: StrSection, i_anchor_name: str, i_angle: float, i_def_extr1: AnyObject, i_math_direction: tuple, i_length: float, i_type: str) StrMember ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func AddDimMember(StrSection iSection,CATBSTR iAnchorName,double iAngle,AnyObject iDefExtr1,CATSafeArrayVariant iMathDirection,double iLength,CATBSTR iType) As StrMemberCreates a dimension member object from a point and a mathematicaldefinition of a direction.Parameters:iSectionThe section object defining the profile for the memberiAnchorNameThe name of the anchor pointiAngleThe orientation of the section on its supportiDefExtr1The extremity object defining the start limit of the memberiMathDirectionThe mathematical definition of the directioniLengthThe length of the memberiTypeThe type of the member. This type is user defined.
- Parameters:
i_section (StrSection) –
i_anchor_name (str) –
i_angle (float) –
i_def_extr1 (AnyObject) –
i_math_direction (tuple) –
i_length (float) –
i_type (str) –
- Return type:
- add_dim_member_on_plane(i_section: StrSection, i_anchor_name: str, i_angle: float, i_def_extr1: AnyObject, i_def_extr2: AnyObject, i_direction: tuple, i_mode: int, i_length: float, i_type: str) StrMember ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func AddDimMemberOnPlane(StrSection iSection,CATBSTR iAnchorName,double iAngle,AnyObject iDefExtr1,AnyObject iDefExtr2,CATSafeArrayVariant iDirection,CatStrPlaneMode iMode,double iLength,CATBSTR iType) As StrMemberCreates a dimension member object on a plane following a mathematicaldefinition of a plane.Parameters:iSectionThe section object defining the profile for the memberiAnchorNameThe name of the anchor pointiAngleThe orientation of the section on its supportiDefExtr1The extremity object defining the start limit of the memberiDefExtr2The extremity object defining the end limit of the memberiDirectionThe direction object. It can be a line or a planeiModeThe way the member is created with respect to the direction plane.Useless if if the direction is not a plane.iOrientationThe orientation of the memberiLengthThe length of the memberiTypeThe type of the member. This type is user defined.
- Parameters:
i_section (StrSection) –
i_anchor_name (str) –
i_angle (float) –
i_def_extr1 (AnyObject) –
i_def_extr2 (AnyObject) –
i_direction (tuple) –
i_mode (int) – enum cat_str_plane_mode
i_length (float) –
i_type (str) –
- Return type:
- add_dim_member_pt_pt(i_section: StrSection, i_anchor_name: str, i_angle: float, i_def_extr1: AnyObject, i_def_extr2: AnyObject, i_length: float, i_type: str) StrMember ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func AddDimMemberPtPt(StrSection iSection,CATBSTR iAnchorName,double iAngle,AnyObject iDefExtr1,AnyObject iDefExtr2,double iLength,CATBSTR iType) As StrMemberCreates a dimension member object from two given points.Parameters:iSectionThe section object defining the profile for the memberiAnchorNameThe name of the anchor pointiAngleThe orientation of the section on its supportiDefExtr1The extremity object defining the start limit of the memberiDefExtr2The extremity object defining the end limit of the memberiLengthThe length of the memberiTypeThe type of the member. This type is user defined.
- Parameters:
i_section (StrSection) –
i_anchor_name (str) –
i_angle (float) –
i_def_extr1 (AnyObject) –
i_def_extr2 (AnyObject) –
i_length (float) –
i_type (str) –
- Return type:
- add_dim_member_with_support(i_section: StrSection, i_anchor_name: str, i_angle: float, i_def_extr1: AnyObject, i_def_extr2: AnyObject, i_direction: Reference, i_mode: int, i_orientation: int, i_length: float, i_type: str) StrMember ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func AddDimMemberWithSupport(StrSection iSection,CATBSTR iAnchorName,double iAngle,AnyObject iDefExtr1,AnyObject iDefExtr2,Reference iDirection,CatStrPlaneMode iMode,CatStrMaterialOrientation iOrientation,double iLength,CATBSTR iType) As StrMemberCreates a dimension member object using a support object.Parameters:iSectionThe section object defining the profile for the memberiAnchorNameThe name of the anchor pointiAngleThe orientation of the section on its supportiDefExtr1The extremity object defining the start limit of the memberiDefExtr2The extremity object defining the end limit of the member. In caseof line for a support, this parameter is not taking into account.iDirectionThe direction object. It can be a line or a planeiModeThe way the member is created with respect to the direction plane.Useless if if the direction is not a plane.iOrientationThe orientation of the memberiLengthThe length of the memberiTypeThe type of the member
- Parameters:
i_section (StrSection) –
i_anchor_name (str) –
i_angle (float) –
i_def_extr1 (AnyObject) –
i_def_extr2 (AnyObject) –
i_direction (Reference) –
i_mode (int) – enum cat_str_plane_mode
i_orientation (int) – enum cat_str_material_orientation
i_length (float) –
i_type (str) –
- Return type:
- add_member(i_section: StrSection, i_anchor_name: str, i_angle: float, i_def_extr1: AnyObject, i_def_extr2: AnyObject, i_type: str) StrMember ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func AddMember(StrSection iSection,CATBSTR iAnchorName,double iAngle,AnyObject iDefExtr1,AnyObject iDefExtr2,CATBSTR iType) As StrMemberCreates a member object.Parameters:iSectionThe section object defining the profile for the memberiAnchorNameThe name of the anchor pointiAngleThe orientation of the section on its supportiDefExtr1The extremity object defining the start limit of the memberiDefExtr2The extremity object defining the end limit of the memberiTypeThe type of the member. This type is user defined.
- Parameters:
i_section (StrSection) –
i_anchor_name (str) –
i_angle (float) –
i_def_extr1 (AnyObject) –
i_def_extr2 (AnyObject) –
i_type (str) –
- Return type:
- add_member_from_dir(i_section: StrSection, i_anchor_name: str, i_angle: float, i_def_extr1: AnyObject, i_def_extr2: AnyObject, i_direction: Reference, i_mode: int, i_type: str) StrMember ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func AddMemberFromDir(StrSection iSection,CATBSTR iAnchorName,double iAngle,AnyObject iDefExtr1,AnyObject iDefExtr2,Reference iDirection,CatStrPlaneMode iMode,CATBSTR iType) As StrMemberCreates a member object using a direction object as a line or aplane.Parameters:iSectionThe section object defining the profile for the memberiAnchorNameThe name of the anchor pointiAngleThe orientation of the section on its supportiDefExtr1The extremity object defining the start limit of the memberiDefExtr2The extremity object defining the end limit of the memberiDirectionThe direction object used to orientate the support. The directionobject can be a plane or a line.iModeThe way the member is created with respect to the direction plane.Useless if if the direction is not a plane.iTypeThe type of the member. This type is user defined.
- Parameters:
i_section (StrSection) –
i_anchor_name (str) –
i_angle (float) –
i_def_extr1 (AnyObject) –
i_def_extr2 (AnyObject) –
i_direction (Reference) –
i_mode (int) – enum cat_str_plane_mode
i_type (str) –
- Return type:
- add_member_from_math_dir(i_section: StrSection, i_anchor_name: str, i_angle: float, i_def_extr1: AnyObject, i_def_extr2: AnyObject, i_direction: tuple, i_type: str) StrMember ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func AddMemberFromMathDir(StrSection iSection,CATBSTR iAnchorName,double iAngle,AnyObject iDefExtr1,AnyObject iDefExtr2,CATSafeArrayVariant iDirection,CATBSTR iType) As StrMemberCreates a member object using a mathematical definition of thedirection.Parameters:iSectionThe section object defining the profile for the memberiAnchorNameThe name of the anchor pointiAngleThe orientation of the section on its supportiDefExtr1The extremity object defining the start limit of the memberiDefExtr2The extremity object defining the end limit of the memberiDirectionThe mathematical definition of the directioniTypeThe type of the member. This type is user defined.
- Parameters:
i_section (StrSection) –
i_anchor_name (str) –
i_angle (float) –
i_def_extr1 (AnyObject) –
i_def_extr2 (AnyObject) –
i_direction (tuple) –
i_type (str) –
- Return type:
- add_member_from_math_plane(i_section: StrSection, i_anchor_name: str, i_angle: float, i_def_extr1: AnyObject, i_def_extr2: AnyObject, i_plane: tuple, i_plane_mode: int, i_type: str) StrMember ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func AddMemberFromMathPlane(StrSection iSection,CATBSTR iAnchorName,double iAngle,AnyObject iDefExtr1,AnyObject iDefExtr2,CATSafeArrayVariant iPlane,CatStrPlaneMode iPlaneMode,CATBSTR iType) As StrMemberCreates a member object from a mathematical definition of aplane.Parameters:iSectionThe section object defining the profile for the memberiAnchorNameThe name of the anchor pointiAngleThe orientation of the section on its supportiDefExtr1The extremity object defining the start limit of the memberiDefExtr2The extremity object defining the end limit of the memberiDirectionThe mathematical definition of a planeiPlaneModeThe way the member is created with respect to the direction plane.Useless if if the direction is not a plane.iTypeThe type of the member. This type is user defined.
- Parameters:
i_section (StrSection) –
i_anchor_name (str) –
i_angle (float) –
i_def_extr1 (AnyObject) –
i_def_extr2 (AnyObject) –
i_plane (tuple) –
i_plane_mode (int) – enum cat_str_plane_mode
i_type (str) –
- Return type:
- add_member_on_support(i_section: StrSection, i_anchor_name: str, i_angle: float, i_support: Reference, i_def_extr1: AnyObject, i_def_extr2: AnyObject, i_type: str) StrMember ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func AddMemberOnSupport(StrSection iSection,CATBSTR iAnchorName,double iAngle,Reference iSupport,AnyObject iDefExtr1,AnyObject iDefExtr2,CATBSTR iType) As StrMemberCreates a member object on a given support.Parameters:iSectionThe section object defining the profile for the memberiAnchorNameThe name of the anchor pointiAngleThe orientation of the section on its supportiSupportThe support for the member. The support can be a line or a curveiDefExtr1The extremity object defining the start limit of the member. It canbe NULL.iDefExtr2The extremity object defining the end limit of the member. It canbe NULL.iTypeThe type of the member. This type is user defined.
- Parameters:
i_section (StrSection) –
i_anchor_name (str) –
i_angle (float) –
i_support (Reference) –
i_def_extr1 (AnyObject) –
i_def_extr2 (AnyObject) –
i_type (str) –
- Return type:
- add_member_on_support_with_ref(i_section: StrSection, i_anchor_name: str, i_surf_ref: Reference, i_angle: float, i_support: Reference, i_def_extr1: AnyObject, i_def_extr2: AnyObject, i_type: str) StrMember ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func AddMemberOnSupportWithRef(StrSection iSection,CATBSTR iAnchorName,Reference iSurfRef,double iAngle,Reference iSupport,AnyObject iDefExtr1,AnyObject iDefExtr2,CATBSTR iType) As StrMemberCreates a member object on a given support object and a surface used todefine the orientation of the section. The surface reference defines therelative orientation on which you add an angle.Parameters:iSectionThe section object defining the profile for the memberiAnchorNameThe name of the anchor pointiReferenceThe reference to define the zero orientation of the section. Thesection follows this guide line along the support of the member.iAngleThe orientation of the section on its supportiSupportThe support for the member. The support can be a line or a curveiDefExtr1The extremity object defining the start limit of the member. It canbe NULL.iDefExtr2The extremity object defining the end limit of the member. It canbe NULL.iTypeThe type of the member. This type is user defined.
- add_plate(i_support: Reference, i_thickness: float, i_orientation: int, i_contour: tuple, i_offset: float, i_type: str) StrPlate ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func AddPlate(Reference iSupport,double iThickness,CatStrMaterialOrientation iOrientation,CATSafeArrayVariant iContour,double iOffset,CATBSTR iType) As StrPlateCreates a plate from a contour defined by coordinates.Parameters:iSupportThe plane defining the support of the plateiThicknessThe standard thickness of the plate. The thickness follows thestandard orientation of the supportiOrientationThe material orientation of the plateiContourThe array containing all objects defining the contour of the plateiOffsetThe offset applies to the support of the plateiTypeThe type of the plate. This information is user defined. It isadded as an attribute on the plate.
- add_plate_on_surface(i_thickness: float, i_orientation: int, i_surface: Reference, i_offset: float, i_type: str) StrPlate ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func AddPlateOnSurface(double iThickness,CatStrMaterialOrientation iOrientation,Reference iSurface,double iOffset,CATBSTR iType) As StrPlateCreates a plate from a surface.Parameters:iThicknessThe standard thickness of the plate. The thickness follows thestandard orientation of the supportiOrientationThe material orientation of the plateiSurfaceThe surface on which plate is to be created. If Surface path isNULL then method will return E_INVALID_ARGiOffsetThe offset applies to the support of the plateiTypeThe type of the plate. This information is user defined. It isadded as an attribute on the plate.
- add_rectangular_end_plate(i_member: StrMember, i_side: int, i_thickness: float, i_height: float, i_width: float, i_orientation: int, i_type: str) StrPlate ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func AddRectangularEndPlate(StrMember iMember,CatStrMemberExtremity iSide,double iThickness,double iHeight,double iWidth,CatStrMaterialOrientation iOrientation,CATBSTR iType) As StrPlateCreates a rectangular end plate on an extremity of a givenmember.Parameters:iMemberThe member on which the end-plate will be creatediSideThe side of the selected memberiThicknessThe standard thickness of the plate. The thickness follows thestandard orientation of the supportiHeightThe height of the plateiWidthThe width of the plateiOrientationThe material orientation of the plateiTypeThe type of the plate. This information is user defined. It isadded as an attribute on the plate.
- add_section(i_part: Document) StrSection ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func AddSection(Document iPart) As StrSectionCreates a section object from part document. This part must aggregate asketch object defining the contour of the section. The contour of the sectionhave to be closed and may contain several domains.Parameters:iPartThe part document where the sketch of the section isdefined
- Parameters:
i_part (Document) –
- Return type:
- add_section_from_catalog(i_part: Document, i_catalog_name: str, i_family_name: str, i_section_name: str) StrSection ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func AddSectionFromCatalog(Document iPart,CATBSTR iCatalogName,CATBSTR iFamilyName,CATBSTR iSectionName) As StrSectionCreates a section object from part document. This part must aggregate asketch object defining the contour of the section. This service gives you todefine where the resolved part comes from to allow a replace mechanism. Thecontour of the section have to be closed and may contain severaldomains.Parameters:iCatalogNameThe catalog name where the document comes fromiFamilyNameThe family name where the document comes fromiSectionNameThe section name where the document comes fromiPartThe part document where the sketch of the section isdefined
- Parameters:
i_part (Document) –
i_catalog_name (str) –
i_family_name (str) –
i_section_name (str) –
- Return type:
- extend_product_as_foundation(i_class: str) StrFoundation ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func ExtendProductAsFoundation(CATBSTR iClass) AsStrFoundationExtend an assembly as a structure foundation assembly.Parameters:iClassthe name of the user class
- Parameters:
i_class (str) –
- Return type: