pycatia.cat_str_functional_interfaces.sfd_product¶
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_str_functional_interfaces.sfd_product.SFDProduct(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSfdProductInterface to create a SFD Functional System under a Product.Role: Allows creating Functional System under a Product.- create_functional_system() Part ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func CreateFunctionalSystem() As PartCreates the Structure System inside a Product.Example:This Example creates a SFD System inside a Product fromscratch.‘ Create a New Product DocumentDim NewProdDoc As ProductDocumentSet NewProdDoc = CATIA.Documents.Add(“Product”)‘ Get the Product from the Product DocumentDim RootPrd As ProductSet RootPrd = NewProdDoc.Product‘ Select the Product Document and Add the product to thisselectionDim SelectionObj As SelectionSet SelectionObj = NewProdDoc.SelectionSelectionObj.Add RootPrd‘ Create a SFD product from above ProductDim SfdProductObj As SfdProductSet SfdProductObj = SelectionObj.FindObject(“CATIASfdProduct”)‘ Create a System under this ProductDim SfdSystemPart As PartSet SfdSystemPart = SfdProductObj.CreateFunctionalSystem‘ Using this Part get the CustomerFactoryDim FactoryObj As SfmFactorySet FactoryObj = SfdSystemPart.GetCustomerFactory(“SfmFactory”)
- Return type: