pycatia.in_interfaces.application.Application(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectApplicationRepresents the current CNext application and its frame window.The application is the root object for all the other objects you can use andaccess from scripts. It directly aggregates:The document collection represented by the Documents object. Thiscollection contains all the documents currently opened by theapplicationThe window collection represented by the Windows object. This collectioncontains all the windows currently opened by the application, each windowdisplaying one of the documents contained in the documentcollectionThe SystemService object, providing information about the systemenvironment.The active document and the active window are two key objects for theapplication you can access using the ActiveDocument and ActiveWindow propertiesrespectively. The active window is the window the end user is currently workingin, and the active document is the document displayed in this active window andthat the end user is being editing. This document sets its workshop, that isthe available menus and toolbars that make it possible to edit it, according toits type.When you create or use macros for in-process access, the application is alwaysreferred to as CATIA.
active_document¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
Document()
active_printer¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
Printer
active_window¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
Window
cache_size¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
int
caption¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
str
create_send_to()¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
SendToService
disable_new_undo_redo_transaction()¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
None
display_file_alerts¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
bool
documents¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
Documents
enable_new_undo_redo_transaction()¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
None
evaluate(vba_code, function_name, measurable_items, cat_script_language=0)¶Note
CATIA V5 Visual Basic help
vba_code (str) – String containing script to run.
function_name (str) – Name of function within vba script.
measurable_items (list) – list of items to pass to script.
cat_script_language (int) – An integer representing the language selection from list() [CATVBScriptLanguage, CATVBALanguage, CATBasicScriptLanguage, CATJavaLanguage, CATJScriptLanguage]
execute_script(library_name, library_type, program_name, function_name, items)¶Note
CAA V5 Visual Basic help
library_name (str) – Full path to location of catia script.
library_type (int) – An integer representing the library type selection from list() CatScriptLibraryType[catScriptLibraryTypeDocument, catScriptLibraryTypeDirectory, catScriptLibraryTypeVBAProject]
program_name (str) – file name of script.
function_name (str) – Name of function to call within script.
items (list) – List of items to pass to script.
file_search_order¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
str
file_selection_box(i_title, i_extension, i_mode)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
i_title (str) –
i_extension (str) –
i_mode (CatFileSelectionMode) –
str
file_system¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
FileSystem
full_name¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
str
get_workbench_id()¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
str
height¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
float
help(i_help_id)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
i_help_id (str) –
None
hso_synchronized¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
bool
interactive¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
bool
left¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
float
local_cache¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
str
path¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
Path()
printers¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
Printers
quit()¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
None
refresh_display¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
bool
start_command(i_command_id)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
i_command_id (str) –
None
start_workbench(iworkbench_id)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
iworkbench_id (str) –
None
status_bar¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
str
system_configuration¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
SystemConfiguration
system_service¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
SystemService
top¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
float
undo_redo_lock¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
bool
visible¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
bool
width¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
float
windows¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
Windows
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.in_interfaces.camera.Camera(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectCameraRepresents the camera.The camera is the object that stores a viewpoint saved from a viewer at a givenmoment using the Viewer.NewCamera method of the Viewer object. The viewpointstored in the camera can then be applied to another viewer to display thedocument in this viewer according to this viewpoint.
type¶Note
enum cat_camera_type
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.in_interfaces.camera2_d.Camera2D(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectInfInterfaces.CameraCamera2DRepresents a 2D camera.The 2D camera stores a 2D viewpoint, that is a Viewpoint2Dobject.
viewpoint2_d¶Note
Viewpoint2D
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.in_interfaces.camera3_d.Camera3D(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectInfInterfaces.CameraCamera3DRepresents a 3D camera.The 3D camera stores a 3D viewpoint, that is a Viewpoint3Dobject.
viewpoint3_d¶Note
Viewpoint3D
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.in_interfaces.cameras.Cameras(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionCamerasA collection of all the Camera objects currently attached to a Documentobject.A camera can be created using the Viewer.NewCamera method of the Viewer object.The first seventh cameras of the collection are Camera3D objects and cannot bemodified or removed. They can just be retrieved and used “as is”. They storethe following viewpoints whose sight direction is always toward the 3D-axissystem origin:* isoThe origin is on a line with (1,1,1) as components with positivecoordinates* frontThe origin is on the x axis with a positive x coordinate* backThe origin is on the x axis with a negative x coordinate* leftThe origin is on the y axis with a positive y coordinate* rightThe origin is on the y axis with a negative y coordinate* topThe origin is on the z axis with a positive z coordinate* bottomThe origin is on the z axis with a negative z coordinateThe cameras of the Cameras collection are available using the dialog boxdisplayed by clicking the View->Defined Views menu.
item(i_index)¶Note
i_index (CATVariant) –
Camera
remove(i_index)¶Note
i_index (CATVariant) –
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.in_interfaces.cgr_adhesion_setting_att.CgrAdhesionSettingAtt(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSystem.SettingControllerCGRAdhesionSettingAttRepresents the base object to handle the parameters of thecache.
get_v4_model_comment_page_info(admin_level, o_locked)¶Note
admin_level (str) –
o_locked (str) –
bool
get_v4_model_ln_f_info(admin_level, o_locked)¶Note
admin_level (str) –
o_locked (str) –
bool
get_v4_v5_fdt_info(admin_level, o_locked)¶Note
admin_level (str) –
o_locked (str) –
bool
get_v5_spa_info(admin_level, o_locked)¶Note
admin_level (str) –
o_locked (str) –
bool
get_voxels_info(admin_level, o_locked)¶Note
admin_level (str) –
o_locked (str) –
bool
set_v4_model_comment_page_lock(i_locked)¶Note
i_locked (bool) –
None
set_v4_model_ln_f_lock(i_locked)¶Note
i_locked (bool) –
None
set_v4_v5_fdt_lock(i_locked)¶Note
i_locked (bool) –
None
set_v5_spa_lock(i_locked)¶Note
i_locked (bool) –
None
set_voxels_lock(i_locked)¶Note
i_locked (bool) –
None
v4_model_comment_page¶Note
bool
v4_model_ln_f¶Note
bool
v4_v5_fdt¶Note
bool
v5_spa¶Note
bool
voxels¶Note
bool
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.in_interfaces.document.Document(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectDocumentRepresents the document.The document is the object handled by the operating system as a whole thatstores your data in files and databases. It is assigned a type determined byits contents. It may contain other documents with a different type. Forexample, a PartDocument contains a part and can be contained in aProductDocument. A workshop is associated with a document to gather all thecommands that can be used to create, modify, and edit the objects making up thethe document. These commands are arranged in menus andtoolbars.See also:PartDocument, ProductDocument, DrawingDocument
activate()¶Activates the document
Note
cameras¶Note
Cameras
close()¶Closes the current document.
Note
create_filter(i_filter_name=None, i_filter_definition=None)¶Note
i_filter_name (str) –
i_filter_definition (str) –
None
create_reference_from_name(i_label=None)¶Note
i_label (str) –
Reference
current_filter¶Note
str
current_layer¶Note
str
drawing_root()¶export_data(file_name, file_type, overwrite=False)¶Note
CAA V5 Visual Basic help
Sub ExportData( CATBSTR fileName, CATBSTR format)
file_name (str) – file_name including full path.
file_type (str) – file_type is the extension of required file_type. The file_type must be supported by CATIA and the CATIA license.
overwrite (bool) –
full_name¶Note
CAA V5 Visual Basic help
Property FullName( ) As CATBSTR (Read Only)
str - full path document name
get_workbench(workbench_name=None)¶Note
workbench_name (str) –
Workbench
indicate_2d(i_message=None, io_document_window_location=None)¶Note
i_message (str) –
io_document_window_location (tuple) –
str
indicate_3d(i_planar_geometric_object=None, i_message=None, io_window_location2_d=None, io_window_location3_d=None)¶Note
i_planar_geometric_object (AnyObject) –
i_message (str) –
io_window_location2_d (tuple) –
io_window_location3_d (tuple) –
str
is_part¶Determine whether the active document is a CATPart.
bool
is_product¶Determine whether the active document is a CATProduct.
bool
is_saved¶Returns true if document is saved.
Note
CAA V5 Visual Basic help
Property Saved( ) As boolean (Read Only)
Returns whether the document has been modified, and thus needs to be saved. This happens when the document has changed since either its creation or its last save. True if the document has not been changed: the document doesn’t need to be saved. False if the document has been changed: the document needs to be saved.
bool
new_window()¶Note
Window
part()¶Part()
path()¶Returns the pathlib.Path() object of the document fullname.
example e://users//psr//Parts//MyNicePart.CATPart >>> Document.path().name MyNicePart.CATPart >>> Document.path().parent e://users//psr//Parts// >>> Document.path().suffix .CATPart
Path()
product()¶Product()
read_only¶Note
bool
remove_filter(i_filter_name)¶Note
i_filter_name (str) –
None
save()¶Note
None
save_as(file_name, overwrite=False)¶Save the document to a new name.
Note
file_name (str) – full pathname to new file_name
overwrite (bool) –
search_for_items(document, selection_objects)¶# todo: This search is currently restricted to GSD objects only.
Selection objects is a list of items to search for. Example: selection_objects = [‘Point’, ‘Line’]
Example query string to search for all lines and points “(‘Generative Shape Design’.Point + ‘Generative Shape Design’.Line),in”
document –
selection_objects (list) –
Note
bool
selection¶Note
Selection
spa_workbench()¶Returns:
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.in_interfaces.documentation_setting_att.DocumentationSettingAtt(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectDocumentRepresents the document.The document is the object handled by the operating system as a whole thatstores your data in files and databases. It is assigned a type determined byits contents. It may contain other documents with a different type. Forexample, a PartDocument contains a part and can be contained in aProductDocument. A workshop is associated with a document to gather all thecommands that can be used to create, modify, and edit the objects making up thethe document. These commands are arranged in menus andtoolbars.See also:PartDocument, ProductDocument, DrawingDocument
activate()¶Note
None
cameras¶Note
Cameras
close()¶Note
None
create_filter(i_filter_name, i_filter_definition)¶Note
i_filter_name (str) –
i_filter_definition (str) –
None
create_reference_from_name(i_label)¶Note
i_label (str) –
Reference
current_filter¶Note
str
current_layer¶Note
str
export_data(file_name, format_py)¶Note
file_name (str) –
format_py (str) –
None
full_name¶Note
str
get_workbench(workbench_name)¶Note
workbench_name (str) –
Workbench
indicate2_d(i_message, io_document_window_location)¶Note
i_message (str) –
io_document_window_location (tuple) –
str
indicate3_d(i_planar_geometric_object, i_message, io_window_location2_d, io_window_location3_d)¶Note
i_planar_geometric_object (AnyObject) –
i_message (str) –
io_window_location2_d (tuple) –
io_window_location3_d (tuple) –
str
new_window()¶Note
Window
path¶Note
str
read_only¶Note
bool
remove_filter(i_filter_name)¶Note
i_filter_name (str) –
None
save()¶Note
None
save_as(file_name)¶Note
file_name (str) –
None
saved¶Note
bool
Note
bool
selection¶Note
Selection
pycatia.in_interfaces.documents.Documents(com_object)¶The Documents object is used to access multiple open documents in the catia session.
Usage:
>>> from pycatia import catia
>>> documents = catia.documents
.. note::
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
| System.IUnknown
| System.IDispatch
| System.CATBaseUnknown
| System.CATBaseDispatch
| System.Collection
| Documents
|
| A collection of all the Document objects currently managed by the
| application.
| These documents belong to one of the following types: PartDocument,
| ProductDocument, and Drawing.
|
| See also:
| PartDocument, ProductDocument, DrawingDocument
add(document_type)¶Note
document_type (str) –
Document
count_types(file_type_list)¶‘catpart’, ‘catdrawing’, ‘catproduct’, ‘catmaterial’, ‘catalog’, ‘catfct’
(list) file_type_list (str) – filetype(s) to count.
int()
item(index)¶Note
index (CATVariant) –
Document
new_from(file_name)¶Note
file_name (str) –
Document
num_open()¶Returns the number of open documents.
Warning
The COM object can return the incorrect number of documents open. After a document is closed CATIA can keep the linked document ABQMaterialPropertiesCatalog.CATfct open.
int()
open(file_name)¶Note
file_name (str) –
Document
read(file_name)¶Note
i_file_name (str) –
Document
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.in_interfaces.drafting_page_setup.DraftingPageSetup(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectInfInterfaces.PageSetupDraftingPageSetupRepresents the page setup for the drawing documents.The page setup is the object that stores data which defines how your documentsand images are actually printed on paper. This data includes namely the papersize, the orientation, the bottom, top, right, and left margins, the zoomfactor, the banner, the printing quality, the choice of the best orientation,and the choice to fit either the drawing sheet format or the printerformat.
choose_best_orientation¶Note
bool
fit_to_printer_format¶Note
bool
fit_to_sheet_format¶Note
bool
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.in_interfaces.file.File(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectInfInterfaces.FileComponentFileRepresents the file object.Role: The file object allows to manipulate files with UNIX and Windows. Use itinstead of the one of Visual Basic to make portable macros. Its gives access toinformation about the file and can open a file as a TextStreamobject.
open_as_text_stream(i_mode)¶Note
i_mode (str) –
TextStream
size¶Note
int
type¶Note
str
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.in_interfaces.file_component.FileComponent(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectFileComponentRepresents the file object.Role: The file object allows to manipulate files with UNIX and Windows. Use itinstead of the one of Visual Basic to make portable macros. Its gives access toinformation about the file and can open a file as a TextStreamobject.
parent_folder¶Note
Folder
path¶Note
str
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.in_interfaces.file_system.FileSystem(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectFileSystemRepresents the file system object.Role: The file system object allows you to access and manipulate folders andfiles. It can check the existence of, get, create, delete, or copy folders andfiles.See also:Folder, File
concatenate_paths(i_path_chunk1, i_path_chunk2)¶Note
i_path_chunk1 (str) –
i_path_chunk2 (str) –
str
copy_file(i_path_source, i_path_destination, i_overwrite)¶Note
i_path_source (str) –
i_path_destination (str) –
i_overwrite (bool) –
None
copy_folder(i_source_path, i_destination_path)¶Note
i_source_path (str) –
i_destination_path (str) –
None
create_file(i_path, i_overwrite)¶Note
i_path (str) –
i_overwrite (bool) –
File
create_folder(i_path)¶Note
i_path (str) –
Folder
delete_file(i_path)¶Note
i_path (str) –
None
delete_folder(i_path)¶Note
i_path (str) –
None
file_exists(i_path)¶Note
i_path (str) –
bool
file_separator¶Note
str
folder_exists(i_path)¶Note
i_path (str) –
bool
get_file(i_path)¶Note
i_path (str) –
File
get_folder(i_path)¶Note
i_path (str) –
Folder
path_separator¶Note
str
temporary_directory¶Note
Folder
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.in_interfaces.files.Files(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionFilesA collection of all the file objects in a folder.It lists all the files contained in the folder. It allows to retrieve Fileobjects.
item(i_number)¶Note
i_number (int) –
File
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.in_interfaces.folder.Folder(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectInfInterfaces.FileComponentFolderRepresents the folder object.It allows you to manipulate folders and gives access to information aboutthem.
files¶Note
Files
sub_folders¶Note
Folders
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.in_interfaces.folders.Folders(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionFoldersThe folders object belongs to a folder.It lists all the folders contained in the folder. It allows to retrieve Folderobjects.
item(i_number)¶Note
i_number (int) –
Folder
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.in_interfaces.general_session_setting_att.GeneralSessionSettingAtt(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSystem.SettingControllerGeneralSessionSettingAttSetting controller for the General property tab page.Role: This interface is implemented by a component which represents thecontroller of the general settings.
auto_save¶Note
enum cat_gen_data_save
conferencing¶Note
enum cat_gen_conferencing
drag_drop¶Note
bool
get_auto_save_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_conferencing_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_drag_drop_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_ref_doc_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_ui_style_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
ref_doc¶Note
bool
set_auto_save_lock(i_locked)¶Note
i_locked (bool) –
None
set_conferencing_lock(i_locked)¶Note
i_locked (bool) –
None
set_drag_drop_lock(i_locked)¶Note
i_locked (bool) –
None
set_ref_doc_lock(i_locked)¶Note
i_locked (bool) –
None
set_ui_style_lock(i_locked)¶Note
i_locked (bool) –
None
time_roll¶Note
int
ui_style¶Note
enum cat_gen_ui_style
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.in_interfaces.light_source.LightSource(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSystem.SettingControllerGeneralSessionSettingAttSetting controller for the General property tab page.Role: This interface is implemented by a component which represents thecontroller of the general settings.
auto_save¶Note
enum cat_gen_data_save
conferencing¶Note
enum cat_gen_conferencing
drag_drop¶Note
bool
get_auto_save_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_conferencing_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_drag_drop_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_ref_doc_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_ui_style_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
ref_doc¶Note
bool
set_auto_save_lock(i_locked)¶Note
i_locked (bool) –
None
set_conferencing_lock(i_locked)¶Note
i_locked (bool) –
None
set_drag_drop_lock(i_locked)¶Note
i_locked (bool) –
None
set_ref_doc_lock(i_locked)¶Note
i_locked (bool) –
None
set_ui_style_lock(i_locked)¶Note
i_locked (bool) –
None
time_roll¶Note
int
ui_style¶Note
enum cat_gen_ui_style
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.in_interfaces.light_sources.LightSources(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionLightSourcesA collection of all the LightSource objects.This collection is currently managed by a Viewer3D object.
add()¶Note
LightSource
item(i_index)¶Note
i_index (int) –
LightSource
remove(i_index)¶Note
i_index (int) –
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.in_interfaces.macros_setting_att.MacrosSettingAtt(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSystem.SettingControllerMacrosSettingAttSetting controller for the Macros tab page.
get_default_macro_libraries()¶Note
tuple
get_default_macro_libraries_info(admin_level, o_locked)¶Note
admin_level (str) –
o_locked (str) –
bool
get_external_references()¶Note
tuple
get_external_references_info(admin_level, o_locked)¶Note
admin_level (str) –
o_locked (str) –
bool
get_language_editor(i_language)¶Note
i_language (CATScriptLanguage) –
str
get_language_editor_info(admin_level, o_locked)¶Note
admin_level (str) –
o_locked (str) –
bool
set_default_macro_libraries(i_libraries)¶Note
i_libraries (tuple) –
None
set_default_macro_libraries_lock(i_locked)¶Note
i_locked (bool) –
None
set_external_references(i_references)¶Note
i_references (tuple) –
None
set_external_references_lock(i_locked)¶Note
i_locked (bool) –
None
set_language_editor(i_language, i_editor_path)¶Note
i_language (CATScriptLanguage) –
i_editor_path (str) –
None
set_language_editor_lock(i_locked)¶Note
i_locked (bool) –
None
pycatia.in_interfaces.move.Move(com_object)¶Note
CAA V5 Visual Basic help
Represents an object associated with any kind of objects whichretrieves the corresponding movable object.An object can be moved onlyif it is independent from other objects. For example, a pad can bemoved, and is as such a movable object, while an edge cannot be movedindividually. It should be moved with all the objects making up thepad to which it belongs as a whole. In this case, the underlyingedge’s movable object is the pad.
apply(i_transformation_array)¶Note
CAA V5 Visual Basic help
Applyo Sub Apply(iTransformationArray)Applies a move transformation to a movable object.Parameters:TransformationArrayThe linear transformation array initialized successively by thefour columns of the transformation matrix.The first nine components represent the rotation matrix.The last three components represent the translation vector.Examples:This example applies the transformation (45 degrees-rotationaround the x axis and a translation) stored inTransformationArray to the Move object associated withmyMovableObject:Dim TransformationArray( 11 )‘Rotation( 45 degrees around the x axis) componentsTransformationArray( 0 ) = 1.000TransformationArray( 1 ) = 0TransformationArray( 2 ) = 0TransformationArray( 3 ) = 0TransformationArray( 4 ) = 0.707TransformationArray( 5 ) = 0.707TransformationArray( 6 ) = 0TransformationArray( 7 ) = -0.707TransformationArray( 8 ) = 0.707‘Translation Vector (10,20,30)TransformationArray( 9 ) = 10.000TransformationArray( 10 ) = 20.000TransformationArray( 11 ) = 30.000MyMovableObject.Move.Apply TransformationArray
i_transformation_array –
movable_object¶Note
CAA V5 Visual Basic help
MovableObjecto Property MovableObject() As (Read Only)Returns the movable object associated with the used object.Example: This example retrieves the myMovableObject fromMove object associated with MyObject. Dim myMovableObject AsMove Set myMovableObject = MyObject.Move.MovableObject
pycatia.in_interfaces.page_setup.PageSetup(com_object)¶Note
CAA V5 Visual Basic help
Represents the page setup.The page setup is the object that storesdata which defines how yourdocuments and images are actually printedon paper.This data includes namely the paper size, the orientation,thebottom, top, right, and left margins, the zoom factor, the banner,andthe printing quality.
Note
CAA V5 Visual Basic help
Bannero Property Banner() AsReturns or sets the banner text. The banner text is addedto the print and can include variables, such as the userwho prints, the date and time of printing. Availablevariables are: $USER The user name$HOST The workstation name $SCALEThe print scale $TIME The print time$DATE The print date $DAYThe print day $MONTH The print month$YEAR The print year The default banner is:Printed by $USER on $DATE $TIME Example: Thisexample sets the banner text to the following:Printed by $USER at scale $SCALE on $MONTH/$DAY/$YEARfor the SetupForMyPrint page setup.SetupForMyPrint.Banner = “Printed by $USER at scale $SCALE on$MONTH/$DAY/$YEAR”
str
Note
CAA V5 Visual Basic help
BannerPositiono Property BannerPosition() AsReturns or sets the banner position. The banner can belocated on the top, bottom, left, or right side of thepage. catBannerPositionNone removes the banner.Example:This example sets the banner on thetop side of the page for the SetupForMyPrintpage setup.SetupForMyPrint.BannerPosition = CatBannerPositionTop
int
Note
CAA V5 Visual Basic help
BannerSizeo Property BannerSize() AsReturns or sets Banner Size. Banner size couldrange from 0.1 mm to 10.0 mm Default value is 2.4 mmExample:This example sets banner size for theSetupForMyPrint page setup.SetupForMyPrint.BannerSize = 1.1
float
bottom¶Note
CAA V5 Visual Basic help
Bottomo Property Bottom() AsReturns or sets the lower left corner location with respect to thebottom of the sheet of paper.This is the distance of the document or the image to printlower left corner to the paper lower left corner.Example:This example sets the locationof the lower left corner of the documentor the image to print at 40 mm from the paper lower left cornerfor the SetupForMyPrint page setup.SetupForMyPrint.Bottom = 40
float
bottom_margin¶Note
CAA V5 Visual Basic help
BottomMargino Property BottomMargin() AsReturns or sets the bottom margin. Thebottom margin is a strip in which nothing is printed, locatedat the bottom of the page, which height is expressed in mm.Example:This example sets thebottom margin for the SetupForMyPrintpage setup to 10 mm.SetupForMyPrint.BottomMargin = 10
color¶Note
CAA V5 Visual Basic help
Coloro Property Color() AsReturns or sets the color mode to use when printing.Example:This example sets thecolor mode to GreyScale for theSetupForMyPrint page setup.SetupForMyPrint.Color = catColorGreyScale
int
dpi¶Note
CAA V5 Visual Basic help
Dpio Property Dpi() AsReturns or sets the printing dpi.Example:This example sets the printing dpi for the SetupForMyPrint page setup.SetupForMyPrint.Dpi = 150.
float
gamma¶Note
CAA V5 Visual Basic help
Gammao Property Gamma() AsReturns or sets Gamma factor for print.Gamma value could range from 0.1 to 5.0Default value is 1.0Example:This example sets Gamma factor for the SetupForMyPrint page setup.SetupForMyPrint.Gamma = 1.2
float
left¶Note
CAA V5 Visual Basic help
Lefto Property Left() AsReturns or sets the lower left corner location with respect to theleft of the sheet of paper.This is the distance of the document or the image to printlower left corner to the paper lower left corner.Example:This example sets the location of the lower left corner of thedocument or the image to print at 25 mm from the paper lower left cornerfor the SetupForMyPrint page setup.SetupForMyPrint.Left = 25
float
left_margin¶Note
CAA V5 Visual Basic help
LeftMargino Property LeftMargin() AsReturns or sets the left margin.The left margin is a strip in which nothing is printed, locatedat the left of the page, which width is expressed in mm.Example: This example sets the left margin for the SetupForMyPrintpage setup to 10 mm.SetupForMyPrint.LeftMargin = 10
float
line_cap¶Note
CAA V5 Visual Basic help
LineCapo Property LineCap() AsReturns or sets Line cap for print.Refer toDefault value is catPrintFlatExample:This example sets Line cap for the SetupForMyPrint page setup.SetupForMyPrint.LineCap = catPrintFlat
int
line_type_overlapping_check¶Note
CAA V5 Visual Basic help
LineTypeOverlappingChecko Property LineTypeOverlappingCheck() AsReturns or sets text Line type overlap check option forprint.Default value is FALSEExample:This example sets Line type overlapping check optionfor the SetupForMyPrint page setup.SetupForMyPrint.LineTypeOverlappingCheck = True
bool
line_type_specification¶Note
CAA V5 Visual Basic help
LineTypeSpecificationo Property LineTypeSpecification() AsReturns or sets Line type specification for print.Refer toDefault value is catPrintAbsoluteExample:This example sets Line type specificationfor the SetupForMyPrint page setup.SetupForMyPrint.LineTypeSpecification = catPrintAbsolute
int enumeration_type
line_width_specification¶Note
CAA V5 Visual Basic help
LineWidthSpecificationo Property LineWidthSpecification() AsReturns or sets Line width specification for print.Refer toDefault value is catPrintAbsoluteExample:This example sets Line width specificationfor the SetupForMyPrint page setup.SetupForMyPrint.LineWidthSpecification = catPrintAbsolute
int enumeration_type
logo¶Note
CAA V5 Visual Basic help
Logoo Property Logo() AsReturns or sets the file containing the logoimage.The logo is printed with the banner.Example:This example sets the logo file to thefollowing file:e://users//psr//Images//Logo.tiffor the SetupForMyPrint pagesetup.SetupForMyPrint.Logo = “e://users//psr//Images//Logo.tif”
str
logo_visibility¶Note
CAA V5 Visual Basic help
LogoVisibilityo Property LogoVisibility() AsReturns or sets LogoVisibility option forprint.Default value is FALSEExample:This example sets LogoVisibility option for the SetupForMyPrint page setup.SetupForMyPrint.LogoVisibility = True
bool
maximum_size¶Note
CAA V5 Visual Basic help
MaximumSizeo Property MaximumSize() AsReturns or sets whether the document or the image should be printedat the maximum size with respect to the page size and margins.True if the document or the image is printed with the maximumsize. This overrides the location properties,that is Left and Bottom, and the Zoom property values.Example:This example requests to print the document or the image withthe SetupForMyPrint page setup at maximum size.SetupForMyPrint.MaximumSize = True
orientation¶Note
CAA V5 Visual Basic help
Orientationo Property Orientation() AsReturns or sets the paper orientation.Example:This example sets the paper orientation for the SetupForMyPrintpage setup to catPaperLandscape.SetupForMyPrint.Orientation = catPaperLandscape
int enumeration_type
paper_height¶Note
CAA V5 Visual Basic help
PaperHeighto Property PaperHeight() AsReturns or sets the paper height.Example:This example sets thepage height for the SetupForMyPrintpage setup to 297 mm..SetupForMyPrint.PaperHeight = 297
float
paper_size¶Note
CAA V5 Visual Basic help
PaperSizeo Property PaperSize() AsReturns or sets the papersize.Example:This example sets the page size for the SetupForMyPrintpage setup to catPaperA4.SetupForMyPrint.PaperSize = catPaperA4
paper_width¶Note
CAA V5 Visual Basic help
PaperWidtho Property PaperWidth() AsReturns or sets thepaper width.Example: This example sets the page width for the SetupForMyPrintpage setup to 210 mm..SetupForMyPrint.PaperWidth = 210
int
print_rendering_mode¶Note
CAA V5 Visual Basic help
PrintRenderingModeo Property PrintRenderingMode() AsReturns or sets theprinting rendering mode.Example:This example sets the printing rendering mode for the SetupForMyPrintpage setup.SetupForMyPrint.PrintRenderingMode = CatPrintRenderingModeDefault
int enumeration_type
quality¶Note
CAA V5 Visual Basic help
Qualityo Property Quality() AsReturns or sets the printing quality.Refer toExample:This example sets the printing quality to draft for theSetupForMyPrint page setup.SetupForMyPrint.Quality = catPrintQualityDraft
int enumeration_type
right_margin¶Note
CAA V5 Visual Basic help
RightMargino Property RightMargin() AsReturns or sets the right margin. The right margin is a strip in whichnothing is printed, located at the right of the page, which width isexpressed in mm.Example:This example sets the right margin for the SetupForMyPrint page setupto 12 mm.SetupForMyPrint.RightMargin = 12
int
rotation¶Note
CAA V5 Visual Basic help
Rotationo PropertyRotation()AsReturns or sets the rotation of the document or the image to print.Rotations angles can be 0, 90, 180, and 270 degrees counted clockwise.Example:This example sets the rotation to 90 degrees clockwise for theSetupForMyPrint page setup.SetupForMyPrint.Rotation = catImageRotation90
int
scaling_to1¶Note
CAA V5 Visual Basic help
Scaling1To1o Property Scaling1To1() AsReturns or sets whether the document or the image should be printed with azoom factor equals to 1 and the image to print lower left corner on the paperlower corner.True if the document or the image is printed with the zoom factor equals to1 and the image to print lower left corner on the paper lower corner.This overrides the location properties, that is Left and Bottom, and theZoom property values.Example:This example requests to print the document or the image with the SetupForMyPrint page setup.SetupForMyPrint.Scaling1To1 = True
bool
text_blanking¶Note
CAA V5 Visual Basic help
TextBlankingo Property TextBlanking() AsReturns or sets the text blanking option in print Text willbe printed in blanking rectangleDefault value is FALSEExample:This example sets the text blanking option for the SetupForMyPrintpage setup.SetupForMyPrint.TextBlanking = True
bool
text_scaling¶Note
CAA V5 Visual Basic help
TextScalingo Property TextScaling() AsReturns or sets text scaling option for print.Default value is TRUEExample:This example sets text scaling option for the SetupForMyPrint page setup.SetupForMyPrint.TextScaling = True
bool
top_margin¶Note
CAA V5 Visual Basic help
TopMargino Property TopMargin() AsReturns or sets the top margin. The top margin is a strip in whichnothing is printed, located at the top of the page, which height is expressed in mm.Example:This example sets the top margin for the SetupForMyPrint page setup to 15 mm.SetupForMyPrint.TopMargin = 15
float
use_3d_accuracy¶Note
CAA V5 Visual Basic help
Use3DAccuracyo Property Use3DAccuracy()AsReturns or sets Use3DAccuracy option for print.Default value is FALSEExample:This example sets Use3DAccuracy option for the SetupForMyPrint page setup.SetupForMyPrint.Use3DAccuracy = True
bool
use_image_size¶Note
CAA V5 Visual Basic help
UseImageSizeo Property UseImageSize() AsReturns or sets the paper size to the image size.Example:This example sets the paper size to image size for theSetupForMyPrint page setup.SetupForMyPrint.UseImageSize = True
bool
white_vectors_in_black¶Note
CAA V5 Visual Basic help
WhiteVectorsInBlacko Property WhiteVectorsInBlack() AsReturns or sets the white vectors in black option.white vectors will be printed in black if set to True Default value is TRUEExample:This example sets the Print White Vectors In Black option forthe SetupForMyPrint page setup.SetupForMyPrint.WhiteVectorsInBlack = True
bool
zoom¶Note
CAA V5 Visual Basic help
Zoomo Property Zoom() AsReturns or sets the zoom factor to use when printing.Example:This example sets the zoom factor to 1.5 for the SetupForMyPrint page setup.SetupForMyPrint.Zoom = 1.5
float
pycatia.in_interfaces.position.Position(com_object)¶Note
CAA V5 Visual Basic help
get_components()¶Note
CAA V5 Visual Basic help
Returns the components of an object’s position. This returns the 3D-axis system associated with the object.
Parameters: oAxisComponentsArray
The array used to store the twelve components retrieved from the objet’s position. The first nine represent successively the components of the x-axis, y-axis, and z-axis. The last three represent the coordinates of the origin point. | Example: | This example retrieves in oAxisComponentsArray the 3D-axis system components from the Position object | associated with MyObject: | Dim oAxisComponentsArray ( 11 ) | MyObject.Position.GetComponents oAxisComponentsArray
set_components()¶Note
CAA V5 Visual Basic help
Sets the components of an object’s position. This sets the 3D-axis system associated with the object.
Parameters: iAxisComponentsArray The array initialized with the components to set to the object’s position. The first nine represent succcessively the components of the x-axis, y-axis, and z-axis. The last three represent the coordinates of the origin point.
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.in_interfaces.printer.Printer(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectPrinterRepresents a printer handled by the printing subsystem.This object is read only and gives access to some properties of theprinter.
device_name¶Note
str
orientation¶Note
enum cat_paper_orientation
paper_height¶Note
float
paper_size¶Note
enum cat_paper_size
paper_width¶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.in_interfaces.printers.Printers(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionPrintersA collection of all the Printer objects managed by theapplication.
item(i_index)¶Note
i_index (CATVariant) –
Printer
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.in_interfaces.printers_setting_att.PrintersSettingAtt(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSystem.SettingControllerPrintersSettingAttRepresents a setting controller for the printer settings.Role: This interface is implemented by a component which represents thecontroller of the printer settings.
add_printer_directory(i_printer_dir, i_printer_dir_state)¶Note
i_printer_dir (str) –
i_printer_dir_state (CatPrinterDirState) –
None
add_printer_group(i_printer_group_name, i_printer_names)¶Note
i_printer_group_name (str) –
i_printer_names (tuple) –
None
get_driver_configuration_path(o_driver_cfg_path)¶Note
o_driver_cfg_path (str) –
None
get_driver_configuration_path_info(o_admin_level, o_locked)¶Note
o_admin_level (str) –
o_locked (str) –
bool
get_new_printer_directory(o_new_printer_dir)¶Note
o_new_printer_dir (str) –
None
get_new_printer_directory_info(o_admin_level, o_locked)¶Note
o_admin_level (str) –
o_locked (str) –
bool
get_printer_array_for_group(i_printer_group_name)¶Note
i_printer_group_name (str) –
tuple
get_printer_directories()¶Note
tuple
get_printer_directories_info(o_admin_level, o_locked)¶Note
o_admin_level (str) –
o_locked (str) –
bool
get_printer_directory_state(i_printer_dir)¶Note
i_printer_dir (str) –
enum cat_printer_dir_state
get_printer_groups()¶Note
tuple
get_printer_groups_info(o_admin_level, o_locked)¶Note
o_admin_level (str) –
o_locked (str) –
bool
modify_printer_array_for_group(i_printer_group_name, i_printer_names)¶Note
i_printer_group_name (str) –
i_printer_names (tuple) –
None
modify_printer_directory_state(i_printer_dir, i_printer_dir_state)¶Note
i_printer_dir (str) –
i_printer_dir_state (CatPrinterDirState) –
None
remove_all_printer_directories()¶Note
None
remove_all_printer_groups()¶Note
None
remove_printer_directory(i_printer_dir)¶Note
i_printer_dir (str) –
None
remove_printer_group(i_printer_group_name)¶Note
i_printer_group_name (str) –
None
set_driver_configuration_path(i_driver_cfg_path)¶Note
i_driver_cfg_path (str) –
None
set_driver_configuration_path_lock(i_lock)¶Note
i_lock (bool) –
None
set_new_printer_directory(i_new_printer_dir)¶Note
i_new_printer_dir (str) –
None
set_new_printer_directory_lock(i_lock)¶Note
i_lock (bool) –
None
set_printer_directories_lock(i_lock)¶Note
i_lock (bool) –
None
set_printer_groups_lock(i_lock)¶Note
i_lock (bool) –
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.in_interfaces.reference.Reference(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectReferenceRepresents an object pointing to another object.This other object can be either a wireframe GeometricElement object such as aplane or a line, or a boundary representation object such as a face, a vertexor an edge. It may be, in particular, a Boundary object. References are createdusing appropriate methods for parts. They are then passed to an object toenable associativity with the referenced object.
compose_with(i_reference)¶Note
i_reference (Reference) –
Reference
display_name¶Note
str
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.in_interfaces.references.References(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionReferencesA collection of all the references aggregated in an object.See also:Reference
item(i_index)¶Note
i_index (CATVariant) –
Reference
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.in_interfaces.search_setting_att.SearchSettingAtt(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSystem.SettingControllerSearchSettingAttRepresents the setting controller for the Search property tabpage.Role: The setting controller is the object that enables to get and set settingparameters.
deep_search_activation¶Note
bool
default_power_input_context_priority¶Note
bool
default_power_input_context_scope¶Note
enum cat_search_context_scope
default_power_input_prefix¶Note
str
get_deep_search_activation_info(o_admin_level, o_locked)¶Note
o_admin_level (str) –
o_locked (str) –
bool
get_default_power_input_context_priority_info(o_admin_level, o_locked)¶Note
o_admin_level (str) –
o_locked (str) –
bool
get_default_power_input_context_scope_info(o_admin_level, o_locked)¶Note
o_admin_level (str) –
o_locked (str) –
bool
get_default_power_input_prefix_info(o_admin_level, o_locked)¶Note
o_admin_level (str) –
o_locked (str) –
bool
get_max_displayed_results_info(o_admin_level, o_locked)¶Note
o_admin_level (str) –
o_locked (str) –
bool
get_max_pre_highlighted_elements_info(o_admin_level, o_locked)¶Note
o_admin_level (str) –
o_locked (str) –
bool
max_displayed_results¶Note
int
max_pre_highlighted_elements¶Note
int
set_deep_search_activation_lock(i_locked)¶Note
i_locked (bool) –
None
set_default_power_input_context_priority_lock(i_locked)¶Note
i_locked (bool) –
None
set_default_power_input_context_scope_lock(i_locked)¶Note
i_locked (bool) –
None
set_default_power_input_prefix_lock(i_locked)¶Note
i_locked (bool) –
None
set_max_displayed_results_lock(i_locked)¶Note
i_locked (bool) –
None
set_max_pre_highlighted_elements_lock(i_locked)¶Note
i_locked (bool) –
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.in_interfaces.selected_element.SelectedElement(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSelectedElementRepresents an element contained by a Selection object.This object is an object contained by a Selection object. The Selection objectcontains SelectedElement objects, which are accessed through theSelection.Count2 and Selection.Item2 methods.
document¶Note
Document
get_coordinates(io_point)¶Note
io_point (tuple) –
None
leaf_product¶Note
AnyObject
reference¶Note
Reference
type¶Note
str
value¶Note
AnyObject
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-07-03 17:02:05.216737
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.in_interfaces.selection.Selection(com_object)¶Note
CAA V5 Visual Basic Help (2020-07-03 17:02:05.216737)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSelectionRepresents the selection.The Selection object contains the features the end user selected, usually withthe mouse, and which are candidates as subjects for the nextaction.A feature possess parent objects in the specification tree (hierarchy). Forexample, the Pad below possess parent objects in the specificationtree:+——–+!Product3!+——–+!+- Product2 (Product2.1)! !! +- Product1 (Product1.1)! !! +- Part1 (Part1.1)! !! +- Part1! !! +- PartBody! !+——————+! +- Pad.1 ! Selected feature!! !+——————+! +- Sketch.1+- Part2 (Part2.1)For a given selected feature, its parent objects which are exposed toautomation can be accessed through a recursive call to the AnyObject.Parentproperty. When a given feature is selected, there are threepossibilities:The feature is exposed to automation (a Pad for example, this is the commoncase): the feature can be accessed by all Selection objectmethodsThe feature is not exposed to automation, but at least one of its parentobjects is exposed to automation (a DMU Navigator URL for example: theHyperlink is not exposed to automation, but the root Product, which containsthe Hyperlink, is exposed to automation):no access is given to the feature through the Count2 and Item2 methodsof the Selection objectnevertheless, the first parent object of the feature, which is exposedto automation (the root Product in our example) can be accessed through theItem2 and Count2 methodsThe Search, Delete, VisProperties, Copy, Cut, Paste and PasteSpecialmethods of the Selection object, take into account thefeature.For example, if the user:Puts a DMU Navigator URL in the clipboardRuns a script calling the PasteSpecial methodthen, during the paste, the DMU Navigator URL will bepastedThe feature is not exposed to automation, and he has no parent object whichis exposed to automation (a ResourcesList object of a .CATProcess forexample):no access is given to the feature through the Count2 and Item2 methodsof the Selection objectno access is given neither to any parent object of the feature throughthe Item2 and Count2 methodsThe Search, Delete, VisProperties, Copy, Cut, Paste and PasteSpecialmethods of the Selection object take into account thefeature.For example, if the user:Go to the “DPM - Process and Resource Definition”workshopPuts a ResourcesList object in the clipboardRuns a script calling the Selection.PasteSpecialmethodthen, during the paste, the ResourcesList object will bepasted.Note: The Selection object can be accessed through the Document.Selectionproperty . However, when the active window contains the tree described above,the Selection object to use is the one associated to the Product3 Document ,which can be accessed through the application of the Document.Selection to thisdocument. You will, for example, determine the Selection object the followingway:Set ActiveProductDocument = CATIA.ActiveDocumentSet Product3 = ActiveProductDocument.ProductSet Product3Products = Product3.ProductsSet Product2Dot1 = Product3Products.Item(“Product2.1”) : Set Product2 = Product2Dot1.ReferenceProductSet ProductDocument2 = Product2.ParentSet Product2Products = Product2.ProductsSet Product1Dot1 = Product2Products.Item(“Product1.1”) : Set Product1 = Product1Dot1.ReferenceProductSet ProductDocument1 = Product1.ParentSet Product1Products = Product1.ProductsSet Part1Dot1 = Product1Products.Item(“Part1.1”) : Set Part1 = Part1Dot1.ReferenceProductSet PartDocument1 = Part1.ParentSet Selection = ActiveProductDocument.SelectionAnother Selection object, such as:Set ProductDocument2Selection = ProductDocument2.SelectionSet ProductDocument1Selection = ProductDocument1.SelectionSet PartDocument1Selection = PartDocument1.Selection(lets take ProductDocument2Selection for example) can only be used if, amongthe different Window , there is at least one whose root Document isProductDocument2 . Otherwise, results are unpredictable.
add(i_object=None)¶Note
i_object (AnyObject) –
None
clear()¶Note
None
copy()¶Note
None
count¶Note
int
count2¶Note
int
cut()¶Note
None
delete()¶Note
None
filter_correspondence(i_filter_type=None)¶Note
i_filter_type (tuple) –
bool
find_object(i_object_type=None)¶Note
i_object_type (str) –
AnyObject
indicate_or_select_element3_d(i_planar_geometric_object=None, i_message=None, i_filter_type=None, i_object_selection_before_command_use_possibility=None, i_tooltip=None, i_triggering_on_mouse_move=None, o_object_selected=None, o_window_location2_d=None, o_window_location3_d=None)¶Note
i_planar_geometric_object (AnyObject) –
i_message (str) –
i_filter_type (tuple) –
i_object_selection_before_command_use_possibility (bool) –
i_tooltip (bool) –
i_triggering_on_mouse_move (bool) –
o_object_selected (bool) –
o_window_location2_d (tuple) –
o_window_location3_d (tuple) –
str
indicate_or_select_element_2d(i_message=None, i_filter_type=None, i_object_selection_before_command_use_possibility=None, i_tooltip=None, i_triggering_on_mouse_move=None, o_object_selected=None, o_document_window_location=None)¶Note
i_message (str) –
i_filter_type (tuple) –
i_object_selection_before_command_use_possibility (bool) –
i_tooltip (bool) –
i_triggering_on_mouse_move (bool) –
o_object_selected (bool) –
o_document_window_location (tuple) –
str
item(i_index=None)¶Note
i_index (int) –
SelectedElement
item2(i_index=None)¶Note
i_index (int) –
SelectedElement
paste()¶Note
None
paste_special(i_format=None)¶Note
i_format (str) –
None
remove(i_index=None)¶Note
i_index (int) –
None
remove2(i_index=None)¶Note
i_index (int) –
None
search(i_string_bstr=None)¶Note
- CAA V5 Visual Basic Help (2020-07-03 17:02:05.216737))
o Sub Search(CATBSTR iStringBSTR)Finds an object in the document using the Edit/Searchgrammar.Role: Finds an object in the document using the Edit/Search grammar, andfills the selection with the found objects. A criterium is created, based onthe Search grammar, which defines in addition the depth of the investigationfield.Note: After the execution of the Search method, there may be, among theselected features, some which are not exposed toautomation.Example:The following example searches the objects matching the followingcriterium in all the document: Part.Sketcher.Color=’White’ . A selected DMUNavigator URL put into the selection although it is not exposed toautomation.
CATIA.ActiveDocument.Selection.Search(“Part.Sketcher.Color=’White’,all”)
- param str i_string_bstr
- return
None
select_element2(i_filter_type=None, i_message=None, i_object_selection_before_command_use_possibility=None)¶Note
i_filter_type (tuple) –
i_message (str) –
i_object_selection_before_command_use_possibility (bool) –
str
select_element3(i_filter_type=None, i_message=None, i_object_selection_before_command_use_possibility=None, i_multi_selection_mode=None, i_tooltip=None)¶Note
i_filter_type (tuple) –
i_message (str) –
i_object_selection_before_command_use_possibility (bool) –
i_multi_selection_mode (CATMultiSelectionMode) –
i_tooltip (bool) –
str
select_element4(i_filter_type=None, i_active_document_message=None, i_non_active_document_message=None, i_tooltip=None, o_document=None)¶Note
i_filter_type (tuple) –
i_active_document_message (str) –
i_non_active_document_message (str) –
i_tooltip (bool) –
o_document (Document) –
str
vis_properties¶Note
VisPropertySet
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.in_interfaces.selection_sets.SelectionSets(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSelectionSetsInterface to manage the Selection Sets in a document.
add_cso_into_selection_set(i_sel_set_name)¶Note
i_sel_set_name (str) –
None
create_selection_set(i_sel_set_name)¶Note
i_sel_set_name (str) –
None
delete_selection_set(i_sel_set_name)¶Note
i_sel_set_name (str) –
None
get_list_of_selection_set(o_list_of_selection_set)¶Note
o_list_of_selection_set (tuple) –
None
put_selection_set_into_cso(i_sel_set_name)¶Note
i_sel_set_name (str) –
None
rename_selection_set(i_old_sel_set_name, i_new_sel_set_name)¶Note
i_old_sel_set_name (str) –
i_new_sel_set_name (str) –
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.in_interfaces.send_to_service.SendToService(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSendToServiceThis interface allows to use ‘Send To’ functionalities through anAPI.Example: Set Send=CATIA.CreateSendTo()This interface requires the installation of CATIA - PPR xPDM Gateway 1 Product(PX1) or the installation of the CATIA-SmarTeam plugin. In case one of theseproducts is not granted, the first invocation to one of CATIASendToServicemethods will fail.
add_file(i_path)¶Note
i_path (str) –
None
get_last_send_to_method_error(o_error_param, o_error_code)¶Note
o_error_param (str) –
o_error_code (int) –
None
get_list_of_dependant_file(o_dependant)¶Note
o_dependant (tuple) –
None
get_list_of_to_be_copied_files(o_will_be_copied)¶Note
o_will_be_copied (tuple) –
None
keep_directory(i_keep)¶Note
i_keep (bool) –
None
remove_file(i_file)¶Note
i_file (str) –
None
run()¶Note
None
set_directory_file(i_directory)¶Note
i_directory (str) –
None
set_directory_one_file(i_file, i_directory)¶Note
i_file (str) –
i_directory (str) –
None
set_initial_file(i_path)¶Note
i_path (str) –
None
set_rename_file(i_oldname, i_new_name)¶Note
i_oldname (str) –
i_new_name (str) –
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.in_interfaces.setting_controllers.SettingControllers(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionSettingControllersA collection of all the setting controllers objects currently managed by theapplication.
item(i_index)¶Note
i_index (str) –
SettingController
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.in_interfaces.specs_and_geom_window.SpecsAndGeomWindow(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectInfInterfaces.WindowSpecsAndGeomWindowRepresents a window featuring a specification viewer and a geometryviewer.The specification viewer is located in the left part of the window and displaysthe document’s specification tree. The geometry viewer is located in the rightpart of the window and displays the document’s geometry, and can thus be aViewer2D or a Viewer3D, according to the document type. Even if generally thetwo viewers are simultaneously displayed, one viewer or the other can be hiddenthanks to the CatSpecsAndGeomWindowLayout enumeration.See also:CatSpecsAndGeomWindowLayout
layout¶Note
enum cat_specs_and_geom_window_layout
specs_viewer¶Note
SpecsViewer
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.in_interfaces.specs_viewer.SpecsViewer(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectInfInterfaces.ViewerInfInterfaces.Viewer2DSpecsViewerRepresents the specification tree viewer.This viewer displays the document’s specification tree according to the chosenlayout, and can only be included in a SpecsAndGeomWindowobject.See also:CatSpecsLayout, SpecsAndGeomWindow
layout¶Note
enum cat_specs_layout
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.in_interfaces.system_configuration.SystemConfiguration(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSystemConfigurationProvides abstractions to resources which depend on the platform or the currentconfiguration.
get_product_names(io_product_names)¶Note
io_product_names (tuple) –
None
Note
i_product_name (str) –
bool
operating_system¶Note
str
product_count¶Note
int
release¶Note
int
service_pack¶Note
int
version¶Note
int
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.in_interfaces.text_stream.TextStream(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectTextStreamThe textstream object allows to manage input and output for a textstream.
at_end_of_line¶Note
bool
at_end_of_stream¶Note
bool
close()¶Note
None
read(i_num_of_char)¶Note
i_num_of_char (int) –
str
read_line()¶Note
str
write(i_written_string)¶Note
i_written_string (str) –
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.in_interfaces.tree_viz_manip_setting_att.TreeVizManipSettingAtt(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSystem.SettingControllerTreeVizManipSettingAttThe Interface to retrieve and set the visual information on the specificationtree.
arc_selection_activation¶Note
bool
auto_expand_activation¶Note
bool
auto_scroll_activation¶Note
bool
display_geom_on_scrolling¶Note
bool
get_arc_selection_activation_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_auto_expand_activation_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_auto_scroll_activation_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_display_geom_on_scrolling_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_orientation_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_show_activation_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_size_type_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_type_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
orientation¶Note
enum cat_tree_orientation_enum
set_arc_selection_activation_lock(i_locked)¶Note
i_locked (bool) –
None
set_auto_expand_activation_lock(i_locked)¶Note
i_locked (bool) –
None
set_auto_scroll_activation_lock(i_locked)¶Note
i_locked (bool) –
None
set_display_geom_on_scrolling_lock(i_locked)¶Note
i_locked (bool) –
None
set_orientation_lock(i_locked)¶Note
i_locked (bool) –
None
set_show_activation_lock(i_locked)¶Note
i_locked (bool) –
None
set_size_type_lock(i_locked)¶Note
i_locked (bool) –
None
set_type_lock(i_locked)¶Note
i_locked (bool) –
None
show_activation¶Note
bool
size¶Note
int
size_type¶Note
enum cat_tree_size_type_enum
type¶Note
enum cat_tree_type_enum
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.in_interfaces.viewer.Viewer(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSystem.SettingControllerTreeVizManipSettingAttThe Interface to retrieve and set the visual information on the specificationtree.
arc_selection_activation¶Note
bool
auto_expand_activation¶Note
bool
auto_scroll_activation¶Note
bool
display_geom_on_scrolling¶Note
bool
get_arc_selection_activation_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_auto_expand_activation_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_auto_scroll_activation_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_display_geom_on_scrolling_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_orientation_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_show_activation_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_size_type_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_type_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
orientation¶Note
enum cat_tree_orientation_enum
set_arc_selection_activation_lock(i_locked)¶Note
i_locked (bool) –
None
set_auto_expand_activation_lock(i_locked)¶Note
i_locked (bool) –
None
set_auto_scroll_activation_lock(i_locked)¶Note
i_locked (bool) –
None
set_display_geom_on_scrolling_lock(i_locked)¶Note
i_locked (bool) –
None
set_orientation_lock(i_locked)¶Note
i_locked (bool) –
None
set_show_activation_lock(i_locked)¶Note
i_locked (bool) –
None
set_size_type_lock(i_locked)¶Note
i_locked (bool) –
None
set_type_lock(i_locked)¶Note
i_locked (bool) –
None
show_activation¶Note
bool
size¶Note
int
size_type¶Note
enum cat_tree_size_type_enum
type¶Note
enum cat_tree_type_enum
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.in_interfaces.viewer2_d.Viewer2D(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectInfInterfaces.ViewerViewer2DRepresents a 2D viewer.The 2D viewer aggregates a 2D viewpoint to display a 2D scene.
viewpoint2_d¶Note
Viewpoint2D
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.in_interfaces.viewer3_d.Viewer3D(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectInfInterfaces.ViewerViewer3DRepresents a 3D viewer.The 3D viewer aggregates a 3D viewpoint to display a 3D scene. In addition, theViewer3D object manages the lighting, the depth effects, the navigation style,and the rendering mode.See also:Viewpoint3D, CatLightingMode, CatNavigationStyle, CatRenderingMode
clipping_mode¶Note
enum cat_clipping_mode
far_limit¶Note
float
foggy¶Note
bool
ground¶Note
bool
light_sources¶Note
LightSources
lighting_intensity¶Note
float
lighting_mode¶Note
enum cat_lighting_mode
Note
enum cat_navigation_style
near_limit¶Note
float
rendering_mode¶Note
enum cat_rendering_mode
rotate(i_axis, i_angle)¶Note
i_axis (tuple) –
i_angle (float) –
None
translate(i_vector)¶Note
i_vector (tuple) –
None
viewpoint3_d¶Note
Viewpoint3D
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.in_interfaces.viewers.Viewers(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionViewersA collection of all the Viewer objects currently attached to awindow.For a SpecsAndGeomWindow object, the viewer containing the geometry is thefirst viewer, and the viewer containing the specification tree is the secondviewer.
item(i_index)¶Note
i_index (int) –
Viewer
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.in_interfaces.viewpoint2_d.Viewpoint2D(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectViewpoint2DRepresents the 2D viewpoint.The 2D viewpoint is the object that stores data which defines how your objectsare seen to enable their display by a 2D viewer. This data includes namely theorigin of the scene, that is the center of the displayed area, and the zoomfactor.
get_origin(o_origin)¶Note
o_origin (tuple) –
None
put_origin(o_origin)¶Note
o_origin (tuple) –
None
zoom¶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.in_interfaces.viewpoint3_d.Viewpoint3D(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectViewpoint3DRepresents the 3D viewpoint.The 3D viewpoint is the object that stores data which defines how your objectsare seen to enable their display by a 3D viewer. This data includes namely theeye location, also named the origin, the distance from the eye to the target,that is to the looked at point in the scene, the sight, up, and rightdirections, defining a 3D axis system with the eye location as origin, theprojection type chosen among perspective (conic) and parallel (cylindric), andthe zoom factor. The right direction is not exposed in a property, and isautomatically computed from the sight and up directions.See also:CatProjectionMode
field_of_view¶Note
float
focus_distance¶Note
float
get_origin(origin)¶Note
origin (tuple) –
None
get_sight_direction(o_sight)¶Note
o_sight (tuple) –
None
get_up_direction(o_up)¶Note
o_up (tuple) –
None
projection_mode¶Note
enum cat_projection_mode
put_origin(origin)¶Note
origin (tuple) –
None
put_sight_direction(o_sight)¶Note
o_sight (tuple) –
None
put_up_direction(o_up)¶Note
o_up (tuple) –
None
zoom¶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.in_interfaces.vis_property_set.VisPropertySet(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectVisPropertySetRepresents the graphic properties for the current selection.Role: We retrieve the graphic properties of the current selection thanks toSelection.VisPropertiesThe graphic properties are:The ColorThe Color is defined by 3 components (red,green,blue). Each componentranges from 0 to 255The OpacityThe opacity is defined from 255 (total opacity) to 0 (total transparency).In Material visualization mode the transparency is real, so the element istruly more or less opaque. But in another visualization mode, the transparencyis a simulation, so if the opacity is between 0 and 254 the element istransparent but with the same visual effect and if the opacity is 255 theelement is opaque.The width of a lineEach index defines a width customizable in Tools/Options.The type of a lineSolid, Dashed, …The symbol of a pointStar, Dot, …A partial modification of an objectA part (for example) contains faces, edges, lines, points. Interactively withthe Edit Properties command the end user can change their color, their linetype and so one. To go faster there is the Graphic Toolbar which contains asub-set of properties. So this interface follows the behavior of the graphictoolbar. The color, the line type … is applicated to the sub-element of theobject defined by the application, and that you can retrieve in the graphictoolbar.A multiple selectionWhen we modify a graphic property using the Setxxx methods, we modify one byone each element of the current selection.When we read a graphic property using the Getxxx methods, we retrieve aninformation which is valid for all elements of the currentselection.Real versus Visible graphic propertiesElements of the current selection are inside a specificationtree:Example :Product0Part1Part3Part2In this sample, product0 and Part1 are nodes and Part3 and Part2 areleaves.Each element (node and leaf) of this tree has its own graphic properties: thatis the “Real” graphic properties.But there is an inheritance mecanism, so each element has also “Visible”graphic properties. An element can be displayed with an another graphicproperties that its real graphic properties.The inheritance is the following:From the root of the tree, the first node with an inheritance flag to 1, givesits property to each element below it. For each graphic property there is anindependantly inheritance.Example with the color property: ( color inheritance flag,color)Product0 (1,red)Part1 (0,blue)Part3 (1,green)Part2 (0,Yellow)In this sample the real colord of the product0 is red, blue for the part1,green for the part3 and yellow for the part2. But the visible color of eachelement is red, because the product0 gives the red color at all thetree.See also:Selection
get_layer(o_layer_type, o_layer_value)¶Note
o_layer_type (CatVisLayerType) –
o_layer_value (int) –
enum cat_vis_property_status
get_pick(o_pick)¶Note
o_pick (CatVisPropertyPick) –
enum cat_vis_property_status
get_real_color(o_red, o_green, o_blue)¶Note
o_red (int) –
o_green (int) –
o_blue (int) –
enum cat_vis_property_status
get_real_inheritance(i_property_type, o_inheritance)¶Note
i_property_type (CatVisPropertyType) –
o_inheritance (int) –
enum cat_vis_property_status
get_real_line_type(o_line_type)¶Note
o_line_type (int) –
enum cat_vis_property_status
get_real_opacity(o_opacity)¶Note
o_opacity (int) –
enum cat_vis_property_status
get_real_width(o_line_width)¶Note
o_line_width (int) –
enum cat_vis_property_status
get_show(o_show)¶Note
o_show (CatVisPropertyShow) –
enum cat_vis_property_status
get_symbol_type(o_symbol_type)¶Note
o_symbol_type (int) –
enum cat_vis_property_status
get_visible_color(o_red, o_green, o_blue)¶Note
o_red (int) –
o_green (int) –
o_blue (int) –
enum cat_vis_property_status
get_visible_inheritance(i_property_type, o_inheritance)¶Note
i_property_type (CatVisPropertyType) –
o_inheritance (int) –
enum cat_vis_property_status
get_visible_line_type(o_line_type)¶Note
o_line_type (int) –
enum cat_vis_property_status
get_visible_opacity(o_opacity)¶Note
o_opacity (int) –
enum cat_vis_property_status
get_visible_width(o_line_width)¶Note
o_line_width (int) –
enum cat_vis_property_status
set_layer(i_layer_type, i_layer_value)¶Note
i_layer_type (CatVisLayerType) –
i_layer_value (int) –
None
set_pick(i_pick)¶Note
i_pick (CatVisPropertyPick) –
None
set_real_color(i_red, i_green, i_blue, i_inheritance)¶Note
i_red (int) –
i_green (int) –
i_blue (int) –
i_inheritance (int) –
None
set_real_line_type(i_line_type, i_inheritance)¶Note
i_line_type (int) –
i_inheritance (int) –
None
set_real_opacity(i_opacity, i_inheritance)¶Note
i_opacity (int) –
i_inheritance (int) –
None
set_real_width(i_line_width, i_inheritance)¶Note
i_line_width (int) –
i_inheritance (int) –
None
set_show(i_show)¶Note
i_show (CatVisPropertyShow) –
None
set_symbol_type(i_symbol_type)¶Note
i_symbol_type (int) –
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.in_interfaces.visualization_setting_att.VisualizationSettingAtt(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSystem.SettingControllerVisualizationSettingAttThe interface to access a CATIAVisualizationSettingAtt.
accurate_picking_mode¶Note
bool
accurate_picking_window_size¶Note
int
all_z_buffer_element_mode¶Note
bool
ambient_activation¶Note
int
anti_aliasing_mode¶Note
bool
anti_aliasing_offset¶Note
float
auxiliary_drill_viewer¶Note
bool
back_face_culling_mode¶Note
bool
border_edges_mode¶Note
bool
border_edges_thickness¶Note
int
bounding_box_selection_mode¶Note
bool
color_background_mode¶Note
bool
default_diffuse_ambient_coefficient¶Note
float
default_shininess¶Note
float
default_specular_coefficient¶Note
float
display_current_scale¶Note
bool
display_drill_list¶Note
bool
display_immersive_drill_viewer¶Note
bool
dynamic_cull¶Note
int
dynamic_lod¶Note
float
face_hl_drill¶Note
bool
fly_collision_mode¶Note
bool
fly_collision_sphere_radius¶Note
float
fly_collision_type¶Note
int
fly_sensitivity¶Note
int
fly_speed¶Note
int
fly_speed_mode¶Note
int
follow_ground_altitude¶Note
float
follow_ground_mode¶Note
bool
full_scene_anti_aliasing_mode¶Note
enum cat_full_scene_anti_aliasing_mode
get_accurate_picking_mode_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_accurate_picking_window_size_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_all_z_buffer_element_mode_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_ambient_activation_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_anti_aliasing_mode_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_anti_aliasing_offset_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_auxiliary_drill_viewer_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_back_face_culling_mode()¶Note
enum cat_back_face_culling_mode
get_back_face_culling_mode_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_background_rgb(io_r, io_g, io_b)¶Note
io_r (int) –
io_g (int) –
io_b (int) –
None
get_background_rgb_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_border_edges_mode_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_border_edges_rgb(io_r, io_g, io_b)¶Note
io_r (int) –
io_g (int) –
io_b (int) –
None
get_border_edges_rgb_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_border_edges_thickness_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_bounding_box_selection_mode_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_color_background_mode_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_default_diffuse_ambient_coefficient_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_default_shininess_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_default_specular_coefficient_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_display_current_scale_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_display_drill_list_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_display_immersive_drill_viewer_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_dynamic_cull_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_dynamic_lod_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_face_hl_drill_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_fly_collision_mode_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_fly_collision_sphere_radius_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_fly_collision_type_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_fly_sensitivity_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_fly_speed_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_fly_speed_mode_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_follow_ground_altitude_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_follow_ground_mode_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_full_scene_anti_aliasing_mode_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_gravity_axis_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_gravity_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_halo_mode_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_handles_rgb(io_r, io_g, io_b)¶Note
io_r (int) –
io_g (int) –
io_b (int) –
None
get_handles_rgb_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_isopar_generation_mode_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_keyboard_rotation_angle_value_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_light_viewer_mode_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_lineic_cgr_mode_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_max_selection_move_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_minimum_fps_mode_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_minimum_space_fps_mode_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_mouse_double_clic_delay_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_mouse_speed_value_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_nb_isopars_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_no_show_background_rgb(io_r, io_g, io_b)¶Note
io_r (int) –
io_g (int) –
io_b (int) –
None
get_no_show_background_rgb_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_no_z_buffer_selection_mode_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_number_of_minimum_fps_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_number_of_minimum_space_fps_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_occlusion_culling_mode_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_opaque_faces_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_other_selection_timeout_activity_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_other_selection_timeout_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_picking_window_size_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_pre_selection_mode_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_preselected_element_linetype_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_preselected_element_rgb(io_r, io_g, io_b)¶Note
io_r (int) –
io_g (int) –
io_b (int) –
None
get_preselected_element_rgb_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_rotation_sphere_mode_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_selected_edge_rgb(io_r, io_g, io_b)¶Note
io_r (int) –
io_g (int) –
io_b (int) –
None
get_selected_edge_rgb_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_selected_element_rgb(io_r, io_g, io_b)¶Note
io_r (int) –
io_g (int) –
io_b (int) –
None
get_selected_element_rgb_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_shader_mode_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_static_cull_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_static_lod_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_stereo_mode_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_transparency_mode_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_two_side_lighting_mode_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_under_intensified_rgb(io_r, io_g, io_b)¶Note
io_r (int) –
io_g (int) –
io_b (int) –
None
get_under_intensified_rgb_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_update_needed_rgb(io_r, io_g, io_b)¶Note
io_r (int) –
io_g (int) –
io_b (int) –
None
get_update_needed_rgb_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_viewpoint_animation_mode_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_viz2_d_accuracy_mode_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_viz2_d_fixed_accuracy_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_viz2_d_proportional_accuracy_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_viz3_d_accuracy_mode_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_viz3_d_curve_accuracy_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_viz3_d_fixed_accuracy_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_viz3_d_proportional_accuracy_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
gravity¶Note
bool
gravity_axis¶Note
int
halo_mode¶Note
bool
isopar_generation_mode¶Note
bool
keyboard_rotation_angle_value¶Note
int
light_viewer_mode¶Note
bool
lineic_cgr_mode¶Note
bool
max_selection_move¶Note
int
minimum_fps_mode¶Note
bool
minimum_space_fps_mode¶Note
bool
mouse_double_clic_delay¶Note
int
mouse_speed_value¶Note
int
nb_isopars¶Note
int
no_z_buffer_selection_mode¶Note
bool
number_of_minimum_fps¶Note
int
number_of_minimum_space_fps¶Note
int
occlusion_culling_mode¶Note
bool
opaque_faces¶Note
bool
other_selection_timeout¶Note
float
other_selection_timeout_activity¶Note
bool
picking_window_size¶Note
int
pre_selection_mode¶Note
bool
preselected_element_linetype¶Note
int
put_back_face_culling_mode(i_back_face_culling_mode)¶Note
i_back_face_culling_mode (CATBackFaceCullingMode) –
None
rotation_sphere_mode¶Note
bool
set_accurate_picking_mode_lock(i_locked)¶Note
i_locked (bool) –
None
set_accurate_picking_window_size_lock(i_locked)¶Note
i_locked (bool) –
None
set_all_z_buffer_element_mode_lock(i_locked)¶Note
i_locked (bool) –
None
set_ambient_activation_lock(i_locked)¶Note
i_locked (bool) –
None
set_anti_aliasing_mode_lock(i_locked)¶Note
i_locked (bool) –
None
set_anti_aliasing_offset_lock(i_locked)¶Note
i_locked (bool) –
None
set_auxiliary_drill_viewer_lock(i_locked)¶Note
i_locked (bool) –
None
set_back_face_culling_mode_lock(i_locked)¶Note
i_locked (bool) –
None
set_background_rgb(i_r, i_g, i_b)¶Note
i_r (int) –
i_g (int) –
i_b (int) –
None
set_background_rgb_lock(i_locked)¶Note
i_locked (bool) –
None
set_border_edges_mode_lock(i_locked)¶Note
i_locked (bool) –
None
set_border_edges_rgb(i_r, i_g, i_b)¶Note
i_r (int) –
i_g (int) –
i_b (int) –
None
set_border_edges_rgb_lock(i_locked)¶Note
i_locked (bool) –
None
set_border_edges_thickness_lock(i_locked)¶Note
i_locked (bool) –
None
set_bounding_box_selection_mode_lock(i_locked)¶Note
i_locked (bool) –
None
set_color_background_mode_lock(i_locked)¶Note
i_locked (bool) –
None
set_default_diffuse_ambient_coefficient_lock(i_locked)¶Note
i_locked (bool) –
None
set_default_shininess_lock(i_locked)¶Note
i_locked (bool) –
None
set_default_specular_coefficient_lock(i_locked)¶Note
i_locked (bool) –
None
set_display_current_scale_lock(i_locked)¶Note
i_locked (bool) –
None
set_display_drill_list_lock(i_locked)¶Note
i_locked (bool) –
None
set_display_immersive_drill_viewer_lock(i_locked)¶Note
i_locked (bool) –
None
set_dynamic_cull_lock(i_locked)¶Note
i_locked (bool) –
None
set_dynamic_lod_lock(i_locked)¶Note
i_locked (bool) –
None
set_face_hl_drill_lock(i_locked)¶Note
i_locked (bool) –
None
set_fly_collision_mode_lock(i_locked)¶Note
i_locked (bool) –
None
set_fly_collision_sphere_radius_lock(i_locked)¶Note
i_locked (bool) –
None
set_fly_collision_type_lock(i_locked)¶Note
i_locked (bool) –
None
set_fly_sensitivity_lock(i_locked)¶Note
i_locked (bool) –
None
set_fly_speed_lock(i_locked)¶Note
i_locked (bool) –
None
set_fly_speed_mode_lock(i_locked)¶Note
i_locked (bool) –
None
set_follow_ground_altitude_lock(i_locked)¶Note
i_locked (bool) –
None
set_follow_ground_mode_lock(i_locked)¶Note
i_locked (bool) –
None
set_full_scene_anti_aliasing_mode_lock(i_locked)¶Note
i_locked (bool) –
None
set_gravity_axis_lock(i_locked)¶Note
i_locked (bool) –
None
set_gravity_lock(i_locked)¶Note
i_locked (bool) –
None
set_halo_mode_lock(i_locked)¶Note
i_locked (bool) –
None
set_handles_rgb(i_r, i_g, i_b)¶Note
i_r (int) –
i_g (int) –
i_b (int) –
None
set_handles_rgb_lock(i_locked)¶Note
i_locked (bool) –
None
set_isopar_generation_mode_lock(i_locked)¶Note
i_locked (bool) –
None
set_keyboard_rotation_angle_value_lock(i_locked)¶Note
i_locked (bool) –
None
set_light_viewer_mode_lock(i_locked)¶Note
i_locked (bool) –
None
set_lineic_cgr_mode_lock(i_locked)¶Note
i_locked (bool) –
None
set_max_selection_move_lock(i_locked)¶Note
i_locked (bool) –
None
set_minimum_fps_mode_lock(i_locked)¶Note
i_locked (bool) –
None
set_minimum_space_fps_mode_lock(i_locked)¶Note
i_locked (bool) –
None
set_mouse_double_clic_delay_lock(i_locked)¶Note
i_locked (bool) –
None
set_mouse_speed_value_lock(i_locked)¶Note
i_locked (bool) –
None
set_nb_isopars_lock(i_locked)¶Note
i_locked (bool) –
None
set_no_show_background_rgb(i_r, i_g, i_b)¶Note
i_r (int) –
i_g (int) –
i_b (int) –
None
set_no_show_background_rgb_lock(i_locked)¶Note
i_locked (bool) –
None
set_no_z_buffer_selection_mode_lock(i_locked)¶Note
i_locked (bool) –
None
set_number_of_minimum_fps_lock(i_locked)¶Note
i_locked (bool) –
None
set_number_of_minimum_space_fps_lock(i_locked)¶Note
i_locked (bool) –
None
set_occlusion_culling_mode_lock(i_locked)¶Note
i_locked (bool) –
None
set_opaque_faces_lock(i_locked)¶Note
i_locked (bool) –
None
set_other_selection_timeout_activity_lock(i_locked)¶Note
i_locked (bool) –
None
set_other_selection_timeout_lock(i_locked)¶Note
i_locked (bool) –
None
set_picking_window_size_lock(i_locked)¶Note
i_locked (bool) –
None
set_pre_selection_mode_lock(i_locked)¶Note
i_locked (bool) –
None
set_preselected_element_linetype_lock(i_locked)¶Note
i_locked (bool) –
None
set_preselected_element_rgb(i_r, i_g, i_b)¶Note
i_r (int) –
i_g (int) –
i_b (int) –
None
set_preselected_element_rgb_lock(i_locked)¶Note
i_locked (bool) –
None
set_rotation_sphere_mode_lock(i_locked)¶Note
i_locked (bool) –
None
set_selected_edge_rgb(i_r, i_g, i_b)¶Note
i_r (int) –
i_g (int) –
i_b (int) –
None
set_selected_edge_rgb_lock(i_locked)¶Note
i_locked (bool) –
None
set_selected_element_rgb(i_r, i_g, i_b)¶Note
i_r (int) –
i_g (int) –
i_b (int) –
None
set_selected_element_rgb_lock(i_locked)¶Note
i_locked (bool) –
None
set_shader_mode_lock(i_locked)¶Note
i_locked (bool) –
None
set_static_cull_lock(i_locked)¶Note
i_locked (bool) –
None
set_static_lod_lock(i_locked)¶Note
i_locked (bool) –
None
set_stereo_mode_lock(i_locked)¶Note
i_locked (bool) –
None
set_transparency_mode_lock(i_locked)¶Note
i_locked (bool) –
None
set_two_side_lighting_mode_lock(i_locked)¶Note
i_locked (bool) –
None
set_under_intensified_rgb(i_r, i_g, i_b)¶Note
i_r (int) –
i_g (int) –
i_b (int) –
None
set_under_intensified_rgb_lock(i_locked)¶Note
i_locked (bool) –
None
set_update_needed_rgb(i_r, i_g, i_b)¶Note
i_r (int) –
i_g (int) –
i_b (int) –
None
set_update_needed_rgb_lock(i_locked)¶Note
i_locked (bool) –
None
set_viewpoint_animation_mode_lock(i_locked)¶Note
i_locked (bool) –
None
set_viz2_d_accuracy_mode_lock(i_locked)¶Note
i_locked (bool) –
None
set_viz2_d_fixed_accuracy_lock(i_locked)¶Note
i_locked (bool) –
None
set_viz2_d_proportional_accuracy_lock(i_locked)¶Note
i_locked (bool) –
None
set_viz3_d_accuracy_mode_lock(i_locked)¶Note
i_locked (bool) –
None
set_viz3_d_curve_accuracy_lock(i_locked)¶Note
i_locked (bool) –
None
set_viz3_d_fixed_accuracy_lock(i_locked)¶Note
i_locked (bool) –
None
set_viz3_d_proportional_accuracy_lock(i_locked)¶Note
i_locked (bool) –
None
shader_mode¶Note
bool
static_cull¶Note
int
static_lod¶Note
float
stereo_mode¶Note
bool
transparency_mode¶Note
bool
two_side_lighting_mode¶Note
bool
viewpoint_animation_mode¶Note
bool
viz2_d_accuracy_mode¶Note
bool
viz2_d_fixed_accuracy¶Note
float
viz2_d_proportional_accuracy¶Note
float
viz3_d_accuracy_mode¶Note
bool
viz3_d_curve_accuracy¶Note
float
viz3_d_fixed_accuracy¶Note
float
viz3_d_proportional_accuracy¶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.in_interfaces.vrml_setting_att.VrmlSettingAtt(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSystem.SettingControllerVrmlSettingAttThe interface to access a CATIAVrmlSettingAtt.This interface may be used to read or modify in theCATIA/Tools/Option/General/Compatibility…. the settings values of the VRMLsheet.
export_edges¶Note
bool
export_normals¶Note
bool
export_texture¶Note
bool
export_texture_file¶Note
int
export_texture_format¶Note
int
export_version¶Note
int
get_export_background_color(io_r, io_g, io_b)¶Note
io_r (int) –
io_g (int) –
io_b (int) –
None
get_export_background_color_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_export_edges_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_export_normals_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_export_texture_file_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_export_texture_format_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_export_texture_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_export_version_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_import_crease_angle_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_import_unit_info(io_admin_level, io_locked)¶Note
io_admin_level (str) –
io_locked (str) –
bool
import_crease_angle¶Note
float
import_unit¶Note
int
set_export_background_color(i_r, i_g, i_b)¶Note
i_r (int) –
i_g (int) –
i_b (int) –
None
set_export_background_color_lock(i_locked)¶Note
i_locked (bool) –
None
set_export_edges_lock(i_locked)¶Note
i_locked (bool) –
None
set_export_normals_lock(i_locked)¶Note
i_locked (bool) –
None
set_export_texture_file_lock(i_locked)¶Note
i_locked (bool) –
None
set_export_texture_format_lock(i_locked)¶Note
i_locked (bool) –
None
set_export_texture_lock(i_locked)¶Note
i_locked (bool) –
None
set_export_version_lock(i_locked)¶Note
i_locked (bool) –
None
set_import_crease_angle_lock(i_locked)¶Note
i_locked (bool) –
None
set_import_unit_lock(i_locked)¶Note
i_locked (bool) –
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.in_interfaces.window.Window(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectWindowRepresents the window.The window is the object that accommodates one or several viewers to displayyour objects, and which makes the link with the windowingsystem.
activate()¶Note
None
activate_next()¶Note
None
activate_previous()¶Note
None
active_viewer¶Note
Viewer
caption¶Note
str
close()¶Note
None
height¶Note
int
left¶Note
int
new_window()¶Note
Window
page_setup¶Note
PageSetup
print_out()¶Note
None
print_to_file(file_name)¶Note
file_name (str) –
None
top¶Note
int
viewers¶Note
Viewers
width¶Note
int
window_state¶Note
enum cat_window_state
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.in_interfaces.windows.Windows(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionWindowsA collection of all the Window objects currently managed by theapplication.
arrange(i_style)¶Note
i_style (CatArrangeStyle) –
None
item(i_index)¶Note
i_index (CATVariant) –
Window
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.in_interfaces.workbench.Workbench(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectWorkbenchRepresents a workbench on a document.Role:A workbench is a set of commands that can be used to create, modify andedit the objects making up the document.See also:DocumentCopyright © 1999-2011, Dassault Systèmes. All rights reserved.