Api Question About Dimension

Aug 11, 2003 5 Replies

Not in SW2003.

Sorry,

-- Bob Hanson CEO Custom Programming Unlimited LLC SolidWorks Solution Partner in two categories (SW API training/consulting and SW PDM provider)

formatting link
website (Home of SW API Public Code snippets)

SolidWorks 2003 World User Conference Exhibitor Booth #407

Is there any way to know if a geometric tolerance is attached to a dimension ?


to get at a tolerance that is attached to a dimension. you must first get the dimension.

I checked and you can try using the GetAnnotation from the particulat GTol to get the base annotation object and then try the Annotation.GetAttachedEntities method to get the dimension. I am not sure that this will work, but it seems to be your best try.

Best Regards,

-- Bob Hanson CEO Custom Programming Unlimited LLC SolidWorks Solution Partner in two categories (SW API training/consulting and SW PDM provider)

formatting link
website (Home of SW API Public Code snippets)

SolidWorks 2003 World User Conference Exhibitor Booth #407

Yes Sean, the dimension tolerance is seperate from the geometric tolerance known in the API as GTol. The original posting was requesting information on whether you can determine the dimension that a GTol is attached and the answer to the best of my knowlege is still no.

Best Regards,

-- Bob Hanson CEO Custom Programming Unlimited LLC SolidWorks Solution Partner in two categories (SW API training/consulting and SW PDM provider)

formatting link
website (Home of SW API Public Code snippets)

SolidWorks 2003 World User Conference Exhibitor Booth #407

training/consulting

Join the Discussion

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

Didn't find your answer?

Ask the community — no account required