cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Using pattern quantity &p0 in annotation and decimal places

Highlighted
Aquamarine

Using pattern quantity &p0 in annotation and decimal places

Is it possible to get the pattern quantity to not show any trailing zeros in an annotation without creating a 'work around' relation?

 

 

 

pattern qty1.jpg

 

pattern qty2.jpg

Tags (2)
11 REPLIES 11
Highlighted

Re: Using pattern quantity &p0 in annotation and decimal places

Er... not that I'm an expert in patterns, but how did you make a pattern where the count had decimal places at all?  I would appreciate seeing an SPR on this (showing the creation of the pattern in question).  Intuitively, I would expect a pattern count to be an integer (0 dec places).

Highlighted

Re: Using pattern quantity &p0 in annotation and decimal places

Yeah that's exactly what I thought, but it has been like this for years now. Our work around is this:

flange_holes=p0

then add &flange_holes to whatever note, but this is super annoying to do every time for every pattern.

Highlighted

Re: Using pattern quantity &p0 in annotation and decimal places

I agree this sounds strange.  If you would be so kind as to file an SPR showing the workflow that leads to this pattern-count-with-dec-places, I'll be happy to figure out why it is happening and whether it is justified or a bug to be fixed.

Highlighted

Re: Using pattern quantity &p0 in annotation and decimal places

It's the parameter "flange_holes" that is reporting and displaying the decimal places.

Try adding this...

{0:&P0}X @D (Plus whatever additional annotation text you need)...

Add this directly into the Dim.  properties instead displaying the parameter valve.

You have to edit the Dim properties either way but this text eliminates the need to create the relation. 

Hope this helps - & STUFF

Tw

Highlighted

Re: Using pattern quantity &p0 in annotation and decimal places

The relation FLANGE_HOLES is created as a work around because the &P0 value shows trailing zeros.

Using FLANGE_HOLES like this, "&FLANGE_HOLES[.0] @D,  the annotation displays correctly as "20 1 1/4"

Highlighted

Re: Using pattern quantity &p0 in annotation and decimal places

Check out lead_trail_zeros  and lead_trail_zeros_scope

You can control Leading / Trailing zero display with these 2 settings.  If none of your other dims. are showing trailing zeros try setting the scope to ALL

These are detailing options that are typically set in the drawing but are also available to be set in the model for the MBD folks.

Highlighted

Re: Using pattern quantity &p0 in annotation and decimal places

No luck with that either.

pattern qty3.jpg

Highlighted

Re: Using pattern quantity &p0 in annotation and decimal places

Hmmm...  Is your screen shot above displaying the parameter?  or the p dimension?

I think displayed parameters will always show Trailing Zeros..  If you can remove the relation and use {0:&P0}X @D text in the dim properties it should work.

Highlighted

Re: Using pattern quantity &p0 in annotation and decimal places

pattern qty4.JPG

Highlighted

Re: Using pattern quantity &p0 in annotation and decimal places

Would you be willing to upload the model to this discussion?  If so you can use the advanced editor to attach it (top right corner of the reply window.)

Highlighted

Re: Using pattern quantity &p0 in annotation and decimal places

I would need to check on that.

Announcements