Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
cadman777
in reply to: A.Acheson

Thanx for your speedy reply!

 

I see, we're all scratching this out on the hard earth little by little.

Like one teacher used to say, 'the one-eyed man is king in the kingdom of the blind'.

 

Thanx for the explanation, it helps.

I didn't include all the tries I made at making that line of code work.

But I promise you that I tried all 3 methods of grabbing the iProperty in my code above, but none of them worked.

The main difference in the one example is, the variable declaration occurs at the top of the rule instead of in the immediate context of the line.

I have no idea what is stopping the line of code from getting that iProperty from the files.

 

Thanx for the properties chart.
I already have one, and it's always open when I'm doing this stuff.

My memory ain't what it used to be.

Same w/the Inventor VBA module, it's always open w/the Object's Browser open, and help readily available.

The thing that kicks my butt is that I can never finish the trail from the Inventor App all the way down to the Leaf and Property. Also, I don't know when to use Methods or Functions, or what the difference is when looking at other people's rules. I ALWAYS get stuck right near the end of a line of code b/c I don't know where to look up the rest of the drill-down trail that leads me to the end. Basically, what I need is a library of code samples that tell me how to do this or that. Just simple short samples like yours above, as well as simple concise explanations of how to do one thing or another. Those long VBA samples in the help file are good if they work exactly how I need them to work.  But they NEVER do. One reason I'm doing this rule is to change all the iProperties to a static value to see if another rule isn't working right. But now I'm 2 levels deep in this sh*t and am getting deeper all the time, which no solution in sight. This is just like dealing with the g.d. tax lawyers and their interpretation and use of the Tax Code (which is nearly always WRONG, even though they nearly always WIN!).

 

Anyway, do you know where I can find samples and explanations that I need?

I already know and have looked at the pages on Mod the Machine and other web sites dedicated to this stuff, but they don't help much b/c I can't figure out how to combine them, and also I still need to learn how to construct a code sentence syntactically correctly. I know exactly what I need to learn, but don't know where to learn it. And all the past AU courses I read or watched as videos didn't do much to help me get there. AU training for beginners SUCKS.

 

Anyway, thanx for the help.

 

Have you tried running my rule on any of your assemblies to see if it works for you?

... Chris
Win 7 Pro 64 bit + IV 2010 Suite
ASUS X79 Deluxe
Intel i7 3820 4.4 O/C
64 Gig ADATA RAM
Nvidia Quadro M5000 8 Gig
3d Connexion Space Navigator