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.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
SfdProduct

Interface 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 Part

Creates the Structure System inside a Product.

Example:

This Example creates a SFD System inside a Product from
scratch.

‘ Create a New Product Document
Dim NewProdDoc As ProductDocument
Set NewProdDoc = CATIA.Documents.Add(“Product”)
‘ Get the Product from the Product Document
Dim RootPrd As Product
Set RootPrd = NewProdDoc.Product
‘ Select the Product Document and Add the product to this
selection
Dim SelectionObj As Selection
Set SelectionObj = NewProdDoc.Selection
SelectionObj.Add RootPrd
‘ Create a SFD product from above Product
Dim SfdProductObj As SfdProduct
Set SfdProductObj = SelectionObj.FindObject(“CATIASfdProduct”)
‘ Create a System under this Product
Dim SfdSystemPart As Part
Set SfdSystemPart = SfdProductObj.CreateFunctionalSystem
‘ Using this Part get the CustomerFactory
Dim FactoryObj As SfmFactory
Set FactoryObj = SfdSystemPart.GetCustomerFactory(“SfmFactory”)
Return type:

Part