Hole callout variables

Has anyone had any luck modifying hole wizard features and having the changes reflected in the hole callout annotation? I have been working on standardizing our hole callouts by making derived tables from the existing standards and selecting only what we need for hole wizard features. I have also changed the SWbrowser to change description values of certain feature names. I would like to be able to add features to the hole wizard sketch and name the dimensions so that they show up in a drawing. For example: I add a "Thru Hole Dia." dimension to a blind counterbore sketch and I want this dimension to show up when a "hole callout" is selected in a drawing. () I'm not sure where SW hides the code to call variables from a hole wizard feature, because it would also be nice to manipulate the NUM- INST location.

Reply to
j_loeff
Loading thread data ...

Look for the following, make sure to back-up before revising. You can put this file in a network location and create a path to it in the system options.

C:\Program Files\SolidWorks\lang\english\calloutformat.txt

Regards,

Anna Wood

Reply to
Anna Wood

SW or somebody should build a GUI for editing the information. I just don't fully understand why they have to use that kind of file format.

Reply to
Markku Lehtola

Markku,

Yes, they should create a nice GUI for updating the calloutformat.txt file. It is very cryptic and can be a pain to make sure you have updated every option.

We all need to put an enhancement request into SolidWorks for that.

Regards,

Anna Wood

Reply to
Anna Wood

You just shold lern Regular expression

formatting link

Reply to
alexei.roz

I do know "regular expressions", it is still a pain and you are missing the point. :-)

With a software package as expensive as SolidWorks, an average user shouldn't need to have to hack the calloutformat.txt file (if they can even find the file) to make their hole callouts conform to their company standard. A nice GUI interface to take the geekiness away from that task would be nice and very much appreciated by this geek.

Regards,

Anna Wood

expression

formatting link

Reply to
Anna Wood

If it is just a text file, why wouldn't users do that?

TOP

Reply to
TOP

formatting link

Huh?? I agree wholeheartedly with Anna's comment. "shold lern" doesn't translate in yours however. Is that some "regular_expression"?

Reply to
Bruce Bretschneider

I have updated the calloutformat.txt file many times, but I am trying to edit a hole wizard feature by adding a dimension with a specific name and have the calloutformat.txt file identify that specific named dimension. All of the dimensions in a hole wizard have names, so why couldn't you just add dimensions using the same format? There must be code that only pulls certain dimension names from each hole wizard feature. The feature that I am trying to create and have a hole callout for is a relief counterbore with thru hole... the counterbore diameter is larger than the thru hole diameter. I like the idea of the GUI and I would add it to the hole wizard feature where you could have more control over the legacy holes and give the legacy holes a callout format.

Reply to
JLCAD

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.