Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

t_orie
759 Vistas, 10 Respuestas

How to add both prefix and suffic to a dimensionstyle

Hi,

I want my dimension for a certain drawing to look like this:   < ±1234 >
I tried to achieve this with entering < %%p as a prefix and > as a suffix, but apparently, in dimstyle
definition, you can't have both at the same time.
Selecting a dimension and adding both in the properties window does work, bit it would require me
to change those properties manually after adding the dimensions.

Is there a way to get this done?

Thanks for helping!

cadffm
en respuesta a: t_orie

Hi,

 

Prefix AND Suffix at the same time is usually not a problem, but in your case

you are using characters which are special controle characters in dimension texs

and this became trouble.

 

Solution:  Check out the unicode codes of one or both chars and add them to your dimstyle.

Sample for ARIAL.ttf

CADffm_0-1686132624811.png

 

Sebastian

Valentin-WSP
en respuesta a: t_orie

@t_orie ,

 

Prefix:  < [Hold Alt+0177]

Suffix:  >

 

ValentinWSP_0-1686133058954.png

 



Please select the "Accept as Solution" button if my post solves your issue or answers your question.


Emilio Valentin
cadffm
en respuesta a: Valentin-WSP

@Valentin-WSP cool, but

 

Thats the usual way someone whould try it, or like TO tried it.

But on my side (and it looks like for TO too),  the suffix and prefix content disappears after type-in (in dimstyle dialog)

and by using this dimstyle, just the suffix part appears in you dimension.

 

REC from ACD2021

Sebastian

Valentin-WSP
en respuesta a: cadffm

@cadffm ,

 

Yes, the prefix and suffix content disappears.  However, you can still save the style - and use it.

 

ValentinWSP_0-1686135744969.png

 



Please select the "Accept as Solution" button if my post solves your issue or answers your question.


Emilio Valentin
cadffm
en respuesta a: Valentin-WSP


@Valentin-WSP  schrieb:

However, you can still save the style - and use it.


 

You're wrong.

YOU can use it with the wanted result,

WE can't.

 

That's the reason of this thread, as you can read abouve and see in my video/gif.

(tried 2021 ACD $ C3D)

 

 

Sebastian

cadffm
en respuesta a: t_orie

Hi @t_orie 

you marked post#3 as Solution, is it working on your side or why?

On my side it isn't working :cara_de_decepción:

Sebastian

t_orie
en respuesta a: cadffm

Hi,
it is the solution i tried last and it worked, same as yours but it looks less complex.

torie_0-1686138754761.png

thanks for the solutions!

cadffm
en respuesta a: t_orie

lol,

for @t.ori just < %%p > doesn't work and I guess it is the same for @Valentin-WSP ?

<[ALT]+0177> works for you both

and for me, both ways doesn't work, WTH?

 

hmm.

 

Sebastian

Valentin-WSP
en respuesta a: cadffm

@cadffm ,

 

That's unfortunate, it works fine in both AutoCAD and C3D.


 

ValentinWSP_0-1686139408962.pngValentinWSP_1-1686139474464.png

 



Please select the "Accept as Solution" button if my post solves your issue or answers your question.


Emilio Valentin
cadffm
en respuesta a: Valentin-WSP

Thank you for testing,

I don't know why it doesn't work here [tried ACD C3D, German / English, OS lang to Eng instead Ger].

Luck: I don't need it know and I don't have time to search for the problem.

 

THANKS

Sebastian