Java Home Path Catia V6 Free Download
CATIA VBA : Get instance name path from selected item to root product
CATIA VBA : Get instance name path from selected item to root product
Hello,I have issue with getting instance name path of selected item to root product.
The CATIA V6 allows electric designers to upgrade their current harness design process, leading to significant productivity improvements in the Downstream Preparation for manufacturing. spotify download for old mac Complex harness design and flattening can now proceed more concurrently, with sections or zones of the harness being extracted and flattened as the design evolves. The Java Runtime Environment contains the Java virtual machine, runtime class libraries, and Java application launcher, which are necessary to run programs written in the Java programming language. It is not a development environment and does not contain development tools such as compilers or debuggers. The 6.0.2.13 version of ResScan is provided as a free download on our website. The most frequent installer filename for the software is: ResScan.exe. This PC program was developed to work on Windows XP, Windows Vista, Windows 7, Windows 8 or Windows 10 and can function on 32-bit systems. Epson reset key free generator.
Result that I want to get from CATIA in this case is string with the following path: 'Product2.1Part2.1'
Additional thing is that CATIA tree will be not known in the future. Getting path formula should work with different multilevel trees.
Simple CATIA tree:
+--------+
!Product1!
+--------+
VBA Code:
Dim Sel1 As Object
Dim Filter1(0)
Dim Status1 As String
Dim objSelPrd1 As Product
' [ Part Selection ] ***
Set Sel1 = CATIA.ActiveDocument.Selection
Filter1(0) = 'Product'
Status1 = Sel1.SelectElement2(Filter1, 'SELECT PART', False)
' [ Switch Part to Design Mode ] ***
Set objSelPrd1 = Sel1.Item2(1).LeafProduct
objSelPrd1.ApplyWorkMode DESIGN_MODE
MsgBox Sel1.Item2(1).LeafProduct.Name 'gives result 'Part2.1'
MsgBox Sel1.Item2(1).LeafProduct.Parent.Name 'gives result 'Products'
MsgBox Sel1.Item2(1).LeafProduct.Parent.Parent.Name 'gives result 'Product2.1' but I don't know how many levels CATIA tree will have in different products
So I'm searching for a solution to get whole path as string from Part chosen by user no matter of CATIA tree complexity - in this case 'Product2.1Part2.1'
Java Home Path Catia V6 Free Download With Crack
Thanks in advance,Michal