Slotted holes dimmensioning

Slotted holes dimmensioning

lipskiszymon
Contributor Contributor
10,248 次查看
12 条回复
1 条消息(共 13 条)

Slotted holes dimmensioning

lipskiszymon
Contributor
Contributor

Hello,
Is there any option to set Slotted holes dimmensioning and labeling like in the attachment?

0 个赞
10,249 次查看
12 条回复
回复 (12)
2 条消息(共 13 条)

crydee-AG1
Mentor
Mentor

Hi,

 

The token for the slot width (W) is Bolt Diameter and the slot length L is Length. So the label should say "Ø%Diameter x %Length Slot" or similar.

 

Aleck Giles, Structures Consultant, Graitec
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

LinkedIn

Autodesk Certified Instructor - Gold

0 个赞
3 条消息(共 13 条)

lipskiszymon
Contributor
Contributor

Thanks but it does not solve my problem.
I would like to achieve dimensioning and labeling like in the first method (attachement),
Now I have the second one.

0 个赞
4 条消息(共 13 条)

crydee-AG1
Mentor
Mentor

Hi,

 

Is your slot a hole made by a bolt or hole command or is it a polygon contour made by one of the contour features. You can only get the lower image if the slot is a contour. If it is a hole you can try playing with the Default > Drawing Dimensioning > General > Slotted hole dimensioning configuration.

 

 

Aleck Giles, Structures Consultant, Graitec
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

LinkedIn

Autodesk Certified Instructor - Gold

5 条消息(共 13 条)

lipskiszymon
Contributor
Contributor

There is no such option.

0 个赞
6 条消息(共 13 条)

crydee-AG1
Mentor
Mentor
已接受的解答

Hi,

 

That is the option you show in your picture. Different builds have slightly different names.

 

Aleck Giles, Structures Consultant, Graitec
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

LinkedIn

Autodesk Certified Instructor - Gold

0 个赞
7 条消息(共 13 条)

lipskiszymon
Contributor
Contributor

It only changes dimensioning not labeling (atachment) so it does not solve my problem.
Taking opportunity, why the vertical location of the hole is not dimensioned?


0 个赞
8 条消息(共 13 条)

Drawtech
Collaborator
Collaborator
已接受的解答

If you want the label to use the hole centre dimension for the length you can use some vbscript to modify the value:

 

Try this for the label definition:

 

%BoltCount No. %Diameterøx%%script(LenTotal = %Length: LenCtrs = LenTotal-%Diameter: appendstring LenCtrs)ctrs slotted holes

 

I use vbscript in many of my label definitions to get the output that I want. 🙂

Dave Gronow
Drawtech Services Ltd
9 条消息(共 13 条)

lipskiszymon
Contributor
Contributor

Thanks a lot! That works!
What about vertical dimension of bolt localization?

I've added an internal Y dimension request similary to the internal X direction but it does not work.(attachment)

0 个赞
10 条消息(共 13 条)

Drawtech
Collaborator
Collaborator
已接受的解答

That Y dimension request is only giving the system points of the holes and nothing else - hence no dimension.

It needs the extreme points of the plate as well.

 

Not sure what is under the X dimension request that you have marked?

If it only contains the holes, this is not the request giving your X dimension and must be one of the other dim requests!

Dave Gronow
Drawtech Services Ltd
0 个赞
11 条消息(共 13 条)

lipskiszymon
Contributor
Contributor

Thanks a lot !
I've found the mistake in default settings (atachment).

0 个赞
12 条消息(共 13 条)

Julio_Soto
Advisor
Advisor
is it possible to learn this scripting power?
0 个赞
13 条消息(共 13 条)

Drawtech
Collaborator
Collaborator
Yes! ...I taught myself through a few online resources and a lot of trial and error!
Once you have a few working examples, it's easy to create others by changing the variable names and tokens to suit and standard VBscript functions:
https://www.w3schools.com/asp/asp_ref_vbscript_functions.asp

Dave Gronow
Drawtech Services Ltd
0 个赞