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.
pycatia.product_structure_interfaces.analyze.Analyze(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectAnalyzeRepresents the analysis object associated with a product.
get_gravity_center()¶Note
None
get_inertia()¶Note
tuple
mass¶Note
float
volume¶Note
float
wet_area¶Note
float
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.
pycatia.product_structure_interfaces.assembly_convertor.AssemblyConvertor(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectAssemblyConvertorProduct conversion object.The AssemblyConvertor is the object that allows saving anassembly to a specified format. Two objects exist from now on: BillOfMaterial, which creates a bill of material (everysub-assembly is represented, with all the one level depthcomponents), and ListingReport, which creates a listing report(shows the product structure as it appears in the graph)
print(i_file_type=None, i_file=None, i_product=None)¶Note
i_file_type (str) –
i_file (str) –
i_product (Product) –
None
set_current_format(ilist_props=None)¶Note
ilist_props (tuple) –
None
set_secondary_format(ilist_props=None)¶Note
ilist_props (tuple) –
None
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.
pycatia.product_structure_interfaces.product.Product(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectProductRepresents the product.The product is the object that helps you model your real products by building atree structure whose nodes are product objects. Each of them may contain otherproduct objects gathered in a product collection. The terminal product objectsin the tree structure have no aggregated product collection. Even if allproducts are located somewhere in the product tree structure, some of them canbe used as reference products to create other products named components, whichare instances of the reference product. For example, the left front wheel in acar can be used as reference to create the other wheels. Be careful: someproperties and methods are dedicated to reference objects only, and some othersare for components only. This is clearly stated for each property or methodconcerned.
activate_default_shape()¶Note
None
activate_shape(shape_name=None)¶Note
shape_name (str) –
None
activate_terminal_node(products)¶Method to ‘Activate Terminal Node’. Loops through ALL products in product and activates_default_shape(). :param list(Product) products:
add_master_shape_representation(i_shape_path_name=None)¶Note
i_shape_path_name (str) –
None
add_shape_representation(i_shape_path_name=None, i_shape_name=None, i_rep_behavior=None, i_context=None)¶Note
i_shape_path_name (str) –
i_shape_name (str) –
i_rep_behavior (CatRepType) –
i_context (bool) –
None
analyze¶Note
Analyze
apply_work_mode(new_mode)¶Note
new_mode (int) –
None
attributes()¶Returns a string describing the products attributes. :return: str
connections(i_connections_type=None)¶Note
i_connections_type (str) –
Collection
count_children()¶int()
create_reference_from_name(i_label=None)¶Note
i_label (str) –
Reference
definition¶Note
str
desactivate_default_shape()¶Note
None
desactivate_shape(shape_name=None)¶Note
shape_name (str) –
None
description_instance¶Note
str
description_reference¶Note
str
extract_bom(i_file_type=None, i_file=None)¶Note
i_file_type (CatFileType) –
i_file (str) –
None
file_name¶str()
full_name¶str()
get_active_shape_name()¶Note
str
get_all_shapes_names(olistshape=None)¶Note
olistshape (tuple) –
None
get_child(index)¶Product()
get_children()¶list(Product())
get_default_shape_name()¶Note
str
get_master_shape_representation(i_load_if_necessary=None)¶Note
i_load_if_necessary (bool) –
AnyObject
get_master_shape_representation_path_name()¶Note
str
get_number_of_shapes()¶Note
enum
get_products()¶Returns a list of Product(). :return: [Product()]
get_shape_path_name(i_shape_name=None)¶Note
i_shape_name (str) –
str
get_shape_representation(i_load_if_necessary, i_shape_name, i_rep_behavior, i_context)¶Note
i_load_if_necessary (bool) –
i_shape_name (str) –
i_rep_behavior (CatRepType) –
i_context (bool) –
AnyObject
get_technological_object(i_application_type=None)¶Note
i_application_type (str) –
AnyObject
has_a_master_shape_representation()¶Note
bool
has_children()¶bool
has_shape_representation(i_shape_name=None, i_rep_behavior=None, i_context=None)¶Note
i_shape_name (str) –
i_rep_behavior (CatRepType) –
i_context (bool) –
bool
is_catpart()¶bool
is_catproduct()¶bool
move¶Note
Move
nomenclature¶Note
str
parameters¶Note
Parameters
part_number¶Note
str
path()¶Returns the pathlib.Path() object of the document fullname. example e://users//psr//Parts//MyNiceProduct.CATProduct >>> Product.path().name >>> # MyNiceProduct.CATProduct >>> Product.path().parent >>> # e://users//psr//Parts// >>> Product.path().suffix >>> # .CATProduct :return: Path()
position¶Note
Position
products¶Note
Products
publications¶Note
Publications
reference_product¶Note
Product
relations¶Note
Relations
remove_master_shape_representation()¶Note
None
remove_shape_representation(i_shape_name=None, i_rep_behavior=None, i_context=None)¶Note
i_shape_name (str) –
i_rep_behavior (CatRepType) –
i_context (bool) –
None
revision¶Note
str
source¶Note
enum cat_product_source
update()¶Note
None
user_ref_properties¶Note
Parameters
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.
pycatia.product_structure_interfaces.product_document.ProductDocument(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectInfInterfaces.DocumentProductDocumentRepresents the Document object for product structures.When a ProductDocument is created, a root product is created whose parent isthe ProductDocument object. Its default name is RootProduct, which can beoverwritten thanks to the the AnyObject.Name property. This root product is atthe top of the product tree structure contained in the document. It has nodifference with the other contained products, except it has no father productin the product tree structure within the document.
product¶Note
Product
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.
pycatia.product_structure_interfaces.products.Products(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionProductsThe collection of the Product objects contained in a given Product object of aProductDocument object.A Product object can aggregate one or zero Productscollection.
add_component(i_reference_product=None)¶Note
i_reference_product (Product) –
Product
add_components_from_files(i_files_list=None, i_method=None)¶Note
i_files_list (tuple) –
i_method (str) –
None
add_external_component(i_product_document=None)¶Note
i_product_document (Document) –
Product
add_new_component(i_documen_type=None, i_part_number=None)¶Note
i_documen_type (str) –
i_part_number (str) –
Product
add_new_product(i_part_number=None)¶Note
i_part_number (str) –
Product
item(i_index=None)¶Note
i_index (CATVariant) –
Product
remove(i_index=None)¶Note
i_index (CATVariant) –
None
replace_component(i_old_component=None, i_file_path=None, i_multi_instances=None)¶Note
i_old_component (Product) –
i_file_path (str) –
i_multi_instances (bool) –
Product
replace_product(i_old_component=None, i_new_reference=None, i_multi_instances=None)¶Note
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.
pycatia.product_structure_interfaces.publication.Publication(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectPublicationThe interface to access a CATIAPublication.
relay¶Note
False
valuation¶Note
AnyObject
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.
pycatia.product_structure_interfaces.publications.Publications(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionPublicationsThe collection of the Product publications.A Product object can aggregate one or zero Publicationscollection.
add(i_public_name=None)¶Note
i_public_name (str) –
Publication
item(i_identifier=None)¶Note
i_identifier (CATVariant) –
Publication
remove(i_identifier=None)¶Note
i_identifier (str) –
None
set_direct(i_identifier=None, i_pointed=None)¶Note
i_identifier (CATVariant) –
i_pointed (Reference) –
None
set_relay(i_identifier=None, i_relayer=None, i_name_in_relay=None)¶Note
i_identifier (CATVariant) –
i_relayer (Publications) –
i_name_in_relay (CATVariant) –
None