I am trying to modify the following macro and is a bit stuck...
https://www.codestack.net/solidworks-ap ... imensions/
What i would like to add is:
1. Export the number of instance, even if it is added by user (for the image below, 4X)
2. Export the full information of hole callout (2X and end condition information)
Appreciate if anyone could point me to a feasible method/command
Export Dimension from Drawing (Hole Callout, Number of Instance, etc)
Export Dimension from Drawing (Hole Callout, Number of Instance, etc)
IDisplayDimension::GetText Method should help get you there. Take a look at swDimensionTextPrefix/swDimensionTextSuffix.
Also:
Get Dimension Values in Drawing Example (VBA)
Go to full postAlso:
Get Dimension Values in Drawing Example (VBA)
Far too many items in the world are designed, constructed and foisted upon us with no understanding-or even care-for how we will use them.
-
- Posts: 98
- Joined: Thu Mar 18, 2021 11:19 am
- Location: St. Louis, MO
- x 288
- x 56
Re: Export Dimension from Drawing (Hole Callout, Number of Instance, etc)
IDisplayDimension::GetText Method should help get you there. Take a look at swDimensionTextPrefix/swDimensionTextSuffix.
Also:
Get Dimension Values in Drawing Example (VBA)
Also:
Get Dimension Values in Drawing Example (VBA)
Austin