Is it possible to locate a dimension in a part from the dimension shown in the design table?
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.
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?
It looks like I completely misinterpreted what you were asking.
Sorry about that,
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.
How will you see the problem, it will differ person to person because they are not photo copies.
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.
What you are saying is program in C# and add in to SWX makes it possible.
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
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.
Just I am learning C#. If this type of thing can be done it is very useful.
Retrieving data ...