i hope i did not confuse you ... i'm NOT trying to change the diameter. i just want to read it.
i tried this per your code ... i added some msgboxes to help
Dim partDocument1 As Document
Set partDocument1 = CATIA.ActiveDocument
Dim oPart As Part
Set oPart = partDocument1.Part
Dim oBody As Body...
well not quite.
here is the form with the diameter as the second element/value. i want to read it in to my code and put it into a variable.
how do i do it? what is the correct syntax to ask for it?
do i use 'analyze' or get tiem or what...
i need help with parameters and properties.
i need to access the diameter of a wire bundle. i can see it on the bundle definition form, no problem there.
now how do i pull it into my VB code? what is the syntax to ask for it?
i know it's part of a sketch but is it a parameter or a...
just saw this thread ...
i am having an issue with some vb code i am writing for a wire harness in CATIA. it was suggested that i try completing the task with knowledgeware advisor.
i have kno knowedge ( ;) ) of this application in the Dassault system. does anyone know of any good...
PARTIAL CODE:
SIMPLE AND TO THE POINT:
CATIA.DisplayFileAlerts = False
CATIA.RefreshDisplay = False
Dim oSel As Selection
Dim oSelEl As Selection
Dim i as Integer
Dim BCount as Integer
Set oSel = CATIA.ActiveDocument.Selection
Set oSelEl = CATIA.ActiveDocument.Selection
oSel.Search("type =...
i need to rename/number all the Branchables in my wire harness. i have a macro that not only FINDS them all, but will select them as well. the problem is that if i echo/query what i have selected with:
msgbox("branch name = " & oSel.item(i).Value.Name)
i do not get what i expect. it doesn't...
HELP!!!!
the code in this thread is perfect for what i need. unfortunately, my browser will delivers it in one loooooong line with know line breaks. can anyone send it to me as a word document or notepad????
jewely
i'm trying to work my way UP a tree.
currently, my "Search' finds all the components that i am looking for. they are nesed under a branch of my tree called 'Publications'. this is where i expect to find them. when i query item(i) for its parent name and type, i get name = Publications and type...