pycatia.cat_tps_interfaces.user_surfaces¶
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.cat_tps_interfaces.user_surfaces.UserSurfaces(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionUserSurfaces- generate(i_support: Reference) UserSurface ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func Generate(Reference iSupport) As UserSurfaceUse this method in a Part. Creates a new user surface and adds it to theSurfaces collection.Parameters:iSupportThe first reference that will support the user surfaceReturns:The created user surfaceExample:The following example creates a user surface names NewUserSurf from thereference Ref in the Surfaces collection of the rootPart part in the partDocpart document.Set rootPart = partDoc.PartSet NewUserSurf = rootPart.UserSurfaces.Add(Ref)
- Parameters:
i_support (Reference) –
- Return type:
- generate_in_a_product_ctx(i_product: Product, i_prod_inst: Product, i_support: Reference) UserSurface ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GenerateInAProductCtx(Product iProduct,Product iProdInst,Reference iSupport) As UserSurfaceUse this method in a Product. Creates a new user surface and adds it to theSurfaces collection.Parameters:iProductThe level on which you want to create annotation (part or product).iProdInstThe product instance where there is the geometry.iSupportThe first reference that will support the user surfaceReturns:The created user surface
- Parameters:
- Return type:
- item(i_index: cat_variant) UserSurface ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func Item(CATVariant iIndex) As UserSurfaceFind a user surface inside the collection.Parameters:iIndexThe position of the users surface in the collectionReturns:The user surface that is in the iIndex position in the collection
- Parameters:
i_index (cat_variant) –
- Return type:
- make_user_surface_node(i_first_user_surf: UserSurface, i_second_user_surf: UserSurface) UserSurface ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func MakeUserSurfaceNode(UserSurface iFirstUserSurf,UserSurface iSecondUserSurf) As UserSurfaceUsefull to create a User Surface Node from two others User Surface. Createsa new user surface and adds it to the Surfaces collection.Parameters:iFirstUserSurfThe first User Surface to use.iSecondUserSurfThe second User Surface to use.Returns:The created user surface
- Parameters:
i_first_user_surf (UserSurface) –
i_second_user_surf (UserSurface) –
- Return type:
- make_user_surface_node_2(i_list_of_user_surfaces: tuple) UserSurface ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func MakeUserSurfaceNode2(CATSafeArrayVariant iListOfUserSurfaces) AsUserSurfaceUsefull to create a User Surface Node from a list of User Surfaces. Createsa new user surface and adds it to the Surfaces collection.Parameters:iListOfUserSurfacesThe list User Surfaces to use.Returns:The created user surface
- Parameters:
i_list_of_user_surfaces (tuple) –
- Return type: