All Frameworks Object Hierarchy This Framework Previous Next Indexes
D5Device (Object)
IUnknown
|
+---IDispatch
|
+---CATBaseUnknown
|
+---CATBaseDispatch
|
+---AnyObject
|
+---BasicDevice
|
+---D5Device
Interface representing a D5 Device.
Role: This interface is used to interact with devices that are available
in the Device Building workbench. This interfaces is derived from BasicDevice to
support specific properties for D5 devices.
The following code snippet can be used to obtain a device in a CATProduct
document.
Dim objDevice As BasicDevice
set objDevice = CATIA.ActiveDocument.Product.GetTechnologicalObject("BasicDevice")
Dim objD5Device as D5Device
Set objD5Device = objDevice
Method Index
-
GetLinkedDeviceFile
- Get the Linked D5 Device File.
Methods
o Func GetLinkedDeviceFile( | ) As CATBSTR |
-
Get the Linked D5 Device File.
- Parameters:
-
- oFileName
- This will contain the full path to the file (file name and path) to the D5
device file.