I do not have any code that accomplishes this but I did read the documentation on Annotation Features which states the following:
An annotation feature is a new feature available in Pro/ENGINEER Wildfire 2.0. It is composed of one or more "annotation elements". Each annotation element is composed of references, parameters and annotations (notes, symbols, geometric tolerances, surface finishes, reference dimensions, driven dimensions, and manufacturing template annotations).
Therefore this would lead me to assume that you could visit the annotation elements of a solid using ProSolidAnnotationelemsVisit() call the function ProAnnotationelemReferencesCollect(). This would give you a collection of references. Then you call the function ProAnnotationelemReferenceIsStrong() to determine which ones are weak. Alternatively you could pass the parameter PRO_ANNOTATION_REF_WEAK to ProAnnotationelemReferencesCollect() to collect only the weak references.
The function ProAnnotationelemReferenceIsStrong() identifies if a reference is weak or strong in a given annotation element.
One note of importance is that these APIs require that you have the Pro/TOOLKIT for 3D Drawings license ($5k I think).
After going through documentation for functions you had mentioned, I think these functions can be used to find the weak/ strong dimensions. However, I am not very sure about meaning of term "reference" in annotation feature. Also, due to unavailability of 3D Drawing licenses, I could not try these functions.
Thanks again for your help.
Best Regards, Amar Junankar
On Fri, Nov 14, 2008 at 7:18 AM, Williams, Patrick S. < -> wrote:
> Amar, > > I do not have any code that accomplishes this but I did read the > documentation on Annotation Features which states the following: > > > > An annotation feature is a new feature available in Pro/ENGINEER Wildfire > 2.0. It is composed of one or more "annotation elements". Each annotation > element is composed of references, parameters and annotations (notes, > symbols, geometric tolerances, surface finishes, reference dimensions, > driven dimensions, and manufacturing template annotations). > > > > Therefore this would lead me to assume that you could visit the annotation > elements of a solid using ProSolidAnnotationelemsVisit() call the function > ProAnnotationelemReferencesCollect(). This would give you a collection of > references. Then you call the function ProAnnotationelemReferenceIsStrong() > to determine which ones are weak. Alternatively you could pass the > parameter PRO_ANNOTATION_REF_WEAK to ProAnnotationelemReferencesCollect() to > collect only the weak references. > > > > The function *ProAnnotationelemReferenceIsStrong()* identifies if a > reference is weak or strong in a given annotation element. > > One note of importance is that these APIs require that you have the > Pro/TOOLKIT for 3D Drawings license ($5k I think). > > > > *Patrick Williams* | Sr. Application Engineer | Engineering Systems | > Steelcase Inc. | 616.698.4078 | My Site<">http://my.steelcase.com/Person.aspx?accountname=NA%5CPWILLIA3> > > > > [image: horizontalsignature_blue2] > > *From:* Amar Junankar [
Announcements
Business Continuity with Creo: Learn more about it here.