Skip to main content
1-Visitor
July 26, 2022
Solved

Remove space from dimension

  • July 26, 2022
  • 1 reply
  • 1829 views

Hello,

 

Hoping someone can offer some guidance whether the following is possible in CREO:

 

I would like my dimension to display:

 

3x M4x0.7-6H

 

Currently I am not able to remove the space between 3 and x:

 

3 x M4x0.7-6H

 

If I try to delete the space the x just disappears, I am hopeful there is some use of brackets within dimension text that will permit this.  Here is my dim text currently:

&P285 x Dx0.7-6H

 

If I remove the space between &P285 and x, x simply disappears. 

 

Thanks in advance. 

Best answer by tbraxton

I do not believe that the current documentation addresses the braces used in this context. There may be a support article on this but I did not find it with a search.

 

They have been around since Pro/E and are visible in the Pro/E embedded text editor. They are widely used for formatting as you will see if you open notes in the old style editor. I think they are still present if you export notes to a text file as well, although I have not verified this on a current release.

1 reply

tbraxton
22-Sapphire II
22-Sapphire II
July 26, 2022

There is a solution for this, use braces { }.

 

I am writing this without testing it but it should work.

 

Try this syntax using the braces:

{0:&P285}{1:& Dx0.7-6H}

 

You are using a parameter (&P285); in order for it to be interpreted there must be a delimiter at the end of the parameter string entry. When you enter "&P285x" it is attempting to find a parameter with the name P285x. I am not aware of another character to denote the end of a parameter name other than using a space.

1-Visitor
July 26, 2022

Thank you for the response, I am relatively new to CREO so this is a constant learning curve.

If I'm honest I have noticed the braces but have no idea of their function within the dimension text, so thanks for giving some context. 

Using {0:&P285}x {2:@D}x0.7-6H I now get the desired outcome. 

tbraxton
22-Sapphire II
tbraxton22-Sapphire IIAnswer
22-Sapphire II
July 26, 2022

I do not believe that the current documentation addresses the braces used in this context. There may be a support article on this but I did not find it with a search.

 

They have been around since Pro/E and are visible in the Pro/E embedded text editor. They are widely used for formatting as you will see if you open notes in the old style editor. I think they are still present if you export notes to a text file as well, although I have not verified this on a current release.