pycatia.knowledge_interfaces.feature_generator

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445

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.knowledge_interfaces.feature_generator.FeatureGenerator(com_object)

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
FeatureGenerator

The interface to access a CATIAFeatureGenerator.
generate(i_context: AnyObject) None

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
o Sub Generate(AnyObject iContext)

Generates the features.
Parameters:

i_context (AnyObject) –

Return type:

None

generate_in_context(i_inputs_array: tuple) None

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
o Sub GenerateInContext(CATSafeArrayVariant iInputsArray)

Generates the features.
Parameters:

i_inputs_array (tuple) –

Return type:

None

load_script_from_file_path(i_file_path: str) None

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
o Sub LoadScriptFromFilePath(CATBSTR iFilePath)

Sets a script from a document file.
Parameters:

i_file_path (str) –

Return type:

None

property nb_generated_features: int

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
o Property NbGeneratedFeatures() As long (Read Only)

Number of generated features in last generation.
Return type:

int

property script: str

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
o Property Script() As CATBSTR

Returns or sets the script that describes what is to be generated.
Return type:

str