Continue to Site

Welcome to 3DCADForums

Join our CAD community forums where over 25,000 users interact to solve day to day problems and share ideas. We encourage you to visit, invite you to participate and look forward to your input and opinions. Acrobat 3D, AutoCAD, Catia, Inventor, IronCAD, Creo, Pro/ENGINEER, Solid Edge, SolidWorks, and others.

Edit hole callout text via API

I asked this on the official SW forum, but no joy. swDisplayDimension.SetText is useless on hole callouts, but I can't find any alternative. I can access some hole callout variables using swDisplayDimension.GetHoleCalloutVariables, but that doesn't help. What I really want is to be able to get and set hole callout text similarly to regular dimension text. In my case, I'd like to increment the instance count on a hole callout. But I can't just grab the prefix and add "2X" to it. Because using SetText just blows away the rest of the callout text. For a simple hole callout that reads "<MOD-DIAM><DIM> THRU", I can't find any method to retrieve or set that string. Help!? Thanks!
 

Articles From 3DCAD World

Sponsor

Back
Top