Api Question About Dimension

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
Reply to
Robert V. Hanson
Loading thread data ...
Is there any way to know if a geometric tolerance is attached to a dimension
?
Reply to
Eran Amiel
to get at a tolerance that is attached to a dimension. you must first get the dimension.
Reply to
Sean Phillips
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
Reply to
Robert V. Hanson
i dont think a dimension tolerance is a gtol. place a dimension with tolerances in a view. then you use GetFirstView GetFirstGTOL it will not return a gtol. it returens nothing. if im not wrong, you should work with dimension tolerances from a dimension object not gtol object.
Reply to
Sean Phillips
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
Reply to
Robert V. Hanson

PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.