Anuncios

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

How to add both prefix and suffic to a dimensionstyle

t_orie
Explorer

How to add both prefix and suffic to a dimensionstyle

t_orie
Explorer
Explorer

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!

0 Me gusta
Responder
Soluciones aceptadas (2)
757 Vistas
10 Respuestas
Respuestas (10)

cadffm
Consultant
Consultant
Solución aceptada

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
Mentor
Mentor
Solución aceptada

@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
Consultant
Consultant

@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

0 Me gusta

Valentin-WSP
Mentor
Mentor

@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
Consultant
Consultant

@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

0 Me gusta

cadffm
Consultant
Consultant

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

0 Me gusta

t_orie
Explorer
Explorer

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
Consultant
Consultant

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

0 Me gusta

Valentin-WSP
Mentor
Mentor

@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
Consultant
Consultant

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