Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Edit hole callout text via API

  • Thread starter Thread starter takedownca
  • Start date Start date
T

takedownca

Guest
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!
 

Part and Inventory Search

Sponsor

Back
Top