Getting custom prop / Surface Area through API

Dec 01, 2005 2 Replies

How do I get the resolved value of a custom property through the API? I'm trying to grab the value for the surface area for a part through a macro (not a VB project).



I can get the "value" of the custom prop just fine, but cant figure out how to get the resolved value.



The CustomPropertyManager::Get2 function is not doing it for me, or maybe I just dont have the syntax right.



Any help appreciated!



Maybe you mean this? retval = ModelDoc2.GetCustomInfoValue ( configuration, FieldName )

Man, why couldn't I find that earlier????

Thanks - it worked great!

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required