Add field to hole table template

Use this space to ask how to do whatever you're trying to use SolidWorks to do.
imaca101
Posts: 12
Joined: Wed Oct 25, 2023 10:06 pm
Answers: 0
x 8

Add field to hole table template

Unread post by imaca101 »

Hi,
I want to create a hole table template with <hw-descrp> added to the "Size" column.
I can do this manually for each hole, but if I try and save the table as a template <hw-descrp> disappears from the column.

What normally appears in the column:
<MOD-DIAM> <hw-diam> <hw-thru>

What I want:
<MOD-DIAM> <hw-diam> <hw-thru><hw-descrp>

Is there a way to do this?
User avatar
AlexB
Posts: 493
Joined: Thu Mar 18, 2021 1:38 pm
Answers: 27
x 265
x 440

Re: Add field to hole table template

Unread post by AlexB »

I believe the hole table column showing the hole wizard information is actually driven by the calloutformat.txt file so that would likely have to modified whether it's on your machine or on a shared drive.

Take this with a grain of salt because I haven't tested this.
User avatar
SPerman
Posts: 2035
Joined: Wed Mar 17, 2021 4:24 pm
Answers: 14
x 2207
x 1860
Contact:

Re: Add field to hole table template

Unread post by SPerman »

I think calloutformat.txt only works with the Hole Callout command. I don't see anything in there referencing hole tables.
-
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
User avatar
SPerman
Posts: 2035
Joined: Wed Mar 17, 2021 4:24 pm
Answers: 14
x 2207
x 1860
Contact:

Re: Add field to hole table template

Unread post by SPerman »

I tested it and got the same result as you. It looks like the first 4 columns can't be modified, and the <hw-descrp> property isn't available to use in a new column.

My best suggestion is a macro that does this for you.
-
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
Post Reply