jewely
Automotive
- Dec 12, 2012
- 11
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 property??
i have:
oSelc.Search ("name = circle.1, all")
x2 = oSelc.Item(i).Value.Parent.Parent.Name ---- tells me i am in a sketch.
so how do i ask x2 what it's diameter is??????
right now x2 is just a string, but that's ok.
what do i augment 'oSelc.Item(i).Value.Parent.Parent.Name' with to ask for it's diameter????
is it a parameter or a property?
i need to use it to crunch some other values that i have imported into my code. the crunching is a no brainer.
my issue is that i can't get it into my code into a variable!
![[banghead] [banghead] [banghead]](/data/assets/smilies/banghead.gif)
i'm going nuts!!!![[cat2] [cat2] [cat2]](/data/assets/smilies/cat2.gif)
![[cat2] [cat2] [cat2]](/data/assets/smilies/cat2.gif)
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 property??
i have:
oSelc.Search ("name = circle.1, all")
x2 = oSelc.Item(i).Value.Parent.Parent.Name ---- tells me i am in a sketch.
so how do i ask x2 what it's diameter is??????
right now x2 is just a string, but that's ok.
what do i augment 'oSelc.Item(i).Value.Parent.Parent.Name' with to ask for it's diameter????
is it a parameter or a property?
i need to use it to crunch some other values that i have imported into my code. the crunching is a no brainer.
my issue is that i can't get it into my code into a variable!
![[banghead] [banghead] [banghead]](/data/assets/smilies/banghead.gif)
i'm going nuts!!!
![[cat2] [cat2] [cat2]](/data/assets/smilies/cat2.gif)
![[cat2] [cat2] [cat2]](/data/assets/smilies/cat2.gif)