Is it possible to locate a dimension in a part from the dimension shown in the design table?

 

2018-02-20_11-21-54.png

 


Categories: Modeling and Assemblies, Configurations∕Design Tables

Comments
Last comment By: Maha Nadarasa   Wed, 21 Feb 2018 12:27:05 GMT
Re: Design Table and Location of a Dimension

The short answer is no.  The long answer is noooooooooooooooooooooooooooo.

At least not the way you are doing it.

 

For best results you should rename any dimension you want to use in a DT.  Give it a meanigful name such as Width, Length, Dia, etc.  You can still do this to your part by editing the sketches and renaming the dimensions.  These will show up in your DT..  Anything that doesn't have a name is a perhaps a good candidate to remove from the DT.

By: Dennis Dohogne  Tue, 20 Feb 2018 17:27:28 GMT
Re: Design Table and Location of a Dimension

Hello,

 

With a part/design table stolen here (Adding a New Custom Property to a Design Table ) by John Stoltzfus I was able to use a sketch text extrude based on the length of the screw for any of the configurations:

 

 

 

In the design table, add a property for the required sketch text and equate it to the corresponding column you need to reference.

Below, cell D3 is "=F3" (which is the Length property) and this formula is then copied down

 

 

In the sketch text, link it to the property

 

Is this what you were looking for?

 

Cheers,

 

Kevin

By: Kevin Chandler  Tue, 20 Feb 2018 18:02:03 GMT
Re: Design Table and Location of a Dimension

Thanks

By: Maha Nadarasa  Tue, 20 Feb 2018 20:25:17 GMT
Re: Design Table and Location of a Dimension

It looks like I completely misinterpreted what you were asking.

 

Sorry about that,

 

Kevin

By: Kevin Chandler  Tue, 20 Feb 2018 21:09:45 GMT
Re: Design Table and Location of a Dimension

It's still a good informational post.  So, definitely leave it up.  If someone searches here for design tables and turns up this thread, they may learn something.

By: Matt Peneguy  Tue, 20 Feb 2018 22:42:53 GMT
Re: Design Table and Location of a Dimension

Hi Maha,

 

A related question was answered here How to Show a specific Features Display Dimensions in a Part Document

All you need to do is add the code to your design table template and add a button. The function would be for you to select the cell with the dimension name and let the macro search through the feature tree.

 

I would test first to see if you can still search the feature manager when in the design table edit mode.

 

Elmar

By: Elmar Klammer  Wed, 21 Feb 2018 11:40:46 GMT
Re: Design Table and Location of a Dimension

How will you see the problem, it will differ person to person because they are not photo copies.

By: Maha Nadarasa  Wed, 21 Feb 2018 11:54:14 GMT
Re: Design Table and Location of a Dimension

What you are saying is program in C# and add in to SWX makes it possible.

By: Maha Nadarasa  Wed, 21 Feb 2018 12:05:52 GMT
Re: Design Table and Location of a Dimension

Hi Maha,

 

What ever programming you are comfortable with. Provided you can still traverse the feature tree if you are in design table edit mode.

That I don't know for sure. But if you can, then you simply look for D1@Sketch4. You got all the info there.

Or better yet use selectbyID2

 

swModel.Extension.SelectByID2("D1@Sketch4@partname.SLDPRT", "DIMENSION",

 

See API help Get Dimension Values in All Configurations Example (VBA)

 

I am a code-sampler not a "musician" that can write code from scratch. But that's where I would start and see if it gets me somewhere.

 

Elmar

By: Elmar Klammer  Wed, 21 Feb 2018 12:21:39 GMT
Re: Design Table and Location of a Dimension

Just I am learning C#. If this type of thing can be done it is very useful.

By: Maha Nadarasa  Wed, 21 Feb 2018 12:27:05 GMT
You are not authorized to view this page No results found! Suggestions: Check spelling, try a different search, or browse topics below.