Format codes to modify property text output

Pioneer
Pioneer

Hi, i`d like to  hide unit for example "mm" in property text

I tried use /NU but this syntax doesn`t work... any proposition how solve this problem ?

thanks

10 REPLIES

Re: Format codes to modify property text output

Esteemed Contributor
Esteemed Contributor

Can you please include your entire property text string so we can tell which property you are using with the "/NU" and how you formatted it?


Thanks,
Ken

Production: ST9 MP10
Testing: ST10 MP1

Re: Format codes to modify property text output

Pioneer
Pioneer

{a/NU/@1|G} x %{b/NU/@1|G} x %{s/NU/@1|G} - %{l/NU/@1|G} for example

Re: Format codes to modify property text output

Esteemed Contributor
Esteemed Contributor

I'm assuming "a", "b", "s", and "l" are variables?

 

Using "%{a|V}"you get the value of the variable which is unitless.


Thanks,
Ken

Production: ST9 MP10
Testing: ST10 MP1

Re: Format codes to modify property text output

Pioneer
Pioneer

example1.jpg

 

OK, i have still problem... I `ve got example, this is variable table for TUBE. To generate a partlisy i use Exposed Name. The formula looks:

%{Subject|G} %{a/CP/@1|G}%{x1/CP|G}%{b/NU/@1|G}%{x2/CP|G}%{s/CP/@1|G}%{x4/CP|G}%{x3/CP|G}%{l/CP/@1|G}

 

and i get something like that:

 

example2.jpg

 

I try use your idea about |V but it doesn`t work. What i do wrong ? how should looks formula ? I can hide this "mm" only when i unmark option Show unit in solid edge ;/

 

Thanks for help

 

 

Re: Format codes to modify property text output

Phenom
Phenom

Hi lauren86,

 

Open your TUBE01 JIB.par file and select SE App Button > Solid Edge Options.

Take the General tab on the left. The first setting in the right panel is "Show units in value field". Check this option OFF.

 

Untitled.png

 

Save the part and switch to the draft. Update the table. The mm should vanish.

 

Hope you find this useful.

 

Regards,

Tushar Suradkar

 

Re: Format codes to modify property text output

Pioneer
Pioneer

Hi Tushar !

 

Thanks for quick reply, but method proposed by you is not acceptable for me, beacause i show only a scrap partlist table, further is a cell Mass, and when i unmark "Show units in value field" then "kg" also will be off. I`m looking for a method to hide "mm".. I'm starting worry that it was not possible :/

Re: Format codes to modify property text output

Phenom
Phenom

Hi,

 

Could you share this part?

 

I've tested this but works well.

 

BR,

Imics
http://solidedgest.wordpress.com/

Re: Format codes to modify property text output

Pioneer
Pioneer

Yes of course...

 

I think the problem is in formula, but i could find a way how block "mm"

Re: Format codes to modify property text output

Phenom
Phenom

Hi,

 

You have to use this form %{b/NU/CP|G} instead of %{b/@1|G}

 

Here is the all form:

%{Subject|G} %{a/CP/NU/@1|G}x %{b/CP/NU/@1|G}x %{s/CP/NU/@1|G}x L= %{l/CP/NU/@1|G}

 

Try this!

 

BR,

Imics
http://solidedgest.wordpress.com/