SfdProduct (Object)

Interface to create a SFD Functional System under a Product.
Role: Allows creating Functional System under a Product.

Methods


Func CreateFunctionalSystem() As
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")