pycatia.dnb_device_interfaces.d5_device¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-09-25 14:34:21.593357
Warning
The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.
- class pycatia.dnb_device_interfaces.d5_device.D5Device(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectDNBDeviceInterfaces.BasicDeviceD5DeviceInterface representing a D5 Device.Role: This interface is used to interact with devices that are available in theDevice Building workbench. This interfaces is derived from BasicDevice tosupport specific properties for D5 devices.The following code snippet can be used to obtain a device in a CATProductdocument.Dim objDevice As BasicDeviceset objDevice = CATIA.ActiveDocument.Product.GetTechnologicalObject(“BasicDevice”)Dim objD5Device as D5DeviceSet objD5Device = objDevice- get_linked_device_file() str ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetLinkedDeviceFile() As CATBSTRGet the Linked D5 Device File.Parameters:oFileNameThis will contain the full path to the file (file name and path) tothe D5 device file.
- Return type:
str