Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

Why does [.#] work in only some cases?

snufflufikist

New member
[.no_of_decimal_places] appended to a variable in a note should give that variable set to whatever number of decimals you wanted, right?

Can anyone explain the following to me? (It's happened a lot in the past. Can't pinpoint the reason or circumstances that cause it though)

View attachment 5306

looks good so far, so now I'll type in the [.#]...

View attachment 5307

And here is the result... I open the note back up and guess what? It's added some unnecessary stuff and didn't do what I wanted... yet in other places of the note it works just fine!

View attachment 5308

Any ideas?
 
It is only used with parameter values. Change the decimal places of the dimension in the model.
Edited by: kdem
 
Well that's about the last answer I was expecting...

This is the angle in an axis pattern. It does not show using show/erase. How can I change the decimal places if I can't show the dimension in the drawing?

I can only find one way, but it's about the most convoluted set of steps for the simplest job I've seen in awhile...

- go to the model, find the specific pattern, right-click > edit. click on the dimension (being careful not to miss, or you'll have to repeat the last two steps). Properties > edit, change decimal places, go back to the drawing, add the variable reference.

Thanks for your help, and if you know of a better method than above, please let me know.
 
Not sure this is any less convoluted but might help. Add a view to the drawing (even if it's only temporary) where the angle can be a shown. I'm able to show the angle of an axis pattern in WF5. I don't recall if there were problems showing it in other versions. You can then adjust the properties there.
 
That is less convoluted.

But unfortunately, I tried that first. Couldn't find the angle but it was a bird's nest so I tried "by feature and view". Nothing there. Just now I created a brand new test part with only the hole pattern. Tried again, not there. I'm on WF4 so that must be new to WF5 :(

Turns out there is one more option. I have mapkeys set up that set decimal places (d0, d1, d2, d3) and if I create a new note and add the dimension in there by itself, I can use the mapkey on it to change its decimal places. Problem is I can't replicate it using the menus... I'm doing exactly the same actions that set up the mapkey in the first place. Tried the mapkey on the dimension in the model and it didn't work. Created a new mapkey (md0, model dimensions 0) and it worked.

Basically nothing makes any sense...
 
Ithinkthe "convoluted" option is your best bet, I use it all the time for holes and other pattern'd features, but I also usually have the model open with the drawing at the same time, side-by-side. I agree that is seems tedious for a simple task, but as far as tasks in Pro-Ego, this is still one of the easiest.


The problem is that Pro-E thinks of dimensions and parameters differently. Dimensions reference the configuration options default_dec_places and default_dim_num_digits_changes and the only other way to override is through the Dimension Properties dialogue box.


Parameters reference param_dec_places, a completely different configuration option, and the only other way, that I know of, to change it is using the [.#] method.


Also, in the "less convoluted" method, it looks like you may be trying to show a dimension using a view that is notperpendicular to the feature, in this particular case. I made a testpart with a 90 degreehole pattern and the pattern's 90 degreedimension will not show upina view parallel with the axis. But that case is notina note calling out that dimension, rather showing that dimension directlythrough show/erase.
 
Mike, I tried again after once more to be sure. This time instead of just the projection view, I made it a section too.

This is showing every dimension. standard hole, patterned as axis - 4 X 90
 
You should be able to select your note, and then be able to highlight and select the dimension portion of the note. Once you've got that, RMB and select properties.
 
Oh, adn the reason it won't show up is that it's already displayed within that note. Part dims can only be displayed once on a drawing.
 
dgs said:
You should be able to select your note, and then be able to
highlight and select the dimension portion of the note. Once you've got
that, RMB and select properties.

Doug: tried that one too. Cannot select the 72
 
dgs said:
Oh, adn the reason it won't show up is that it's already displayed within that note. Part dims can only be displayed once on a drawing.

The last image I uploaded shows a totally different part with a note that does not include the angle. In fact, some of those dimensions that are shown are also in the note. (the diameters for the hole)
 
Did you try by feature and selecting the pattern in the model tree with the new part?If it shows up it should probably only show four dimensionsone of which should be the pattern angle. Based on the feature setupthe pattern angledidn't show by view for me.
 
No I did not.

But I tried it and it worked perfectly.

This just gets worse and worse.

When I "show all" dimensions using show/erase, I was under the impression that it, well, showed all the dimensions. This is one of my checks for whether I'm missing dimensions on a drawing or not, whether any of the remaining show/erase dims are relevant.

What other dimensions don't show unless you select them a specific way? How many more am I potentially missing?

Secondly, is this a bug? surely it can't be a "feature"...
 

Sponsor

Back
Top