Author Topic: combine property and expression in Fields  (Read 1188 times)

0 Members and 1 Guest are viewing this topic.

CADwiesel

  • Newt
  • Posts: 46
  • Wir machen das Mögliche unmöglich
combine property and expression in Fields
« on: September 17, 2018, 09:08:20 AM »
I like to combine the xScaleFaktor of an Block with an MText, so that i can multiplicate the textvalue, which is an int/real with this scalefaktor.
%<\\AcObjProp Object... %<\\AcExpr ...
I like to put an MText next to an Insert which shows me the total lenght and width of this insert. so when the Text is "78" and the scaleFaktorx is changet to 2 the Text should change to "156"
May there are some suggestions.
Gruß
CADwiesel
Besucht uns im CHAT

kpblc

  • Bull Frog
  • Posts: 396
Re: combine property and expression in Fields
« Reply #1 on: September 17, 2018, 09:15:44 AM »
Do you mean something like this?
Sorry for my English.

CADwiesel

  • Newt
  • Posts: 46
  • Wir machen das Mögliche unmöglich
Re: combine property and expression in Fields
« Reply #2 on: September 17, 2018, 09:37:42 AM »
no, not this kind.
 i like to combine an text value with this scale faktor. if the text is 55 and i scale the insert by 2 the text should change to 110
Gruß
CADwiesel
Besucht uns im CHAT

kpblc

  • Bull Frog
  • Posts: 396
Re: combine property and expression in Fields
« Reply #3 on: September 17, 2018, 09:39:45 AM »
Try to change scale factors to my block, then regenerate drawing - and you'll see changes to mtext.
Or I can't understand what do you want to get.
Sorry for my English.

CADwiesel

  • Newt
  • Posts: 46
  • Wir machen das Mögliche unmöglich
Re: combine property and expression in Fields
« Reply #4 on: September 17, 2018, 10:12:52 AM »
sorry, now i got it.  :idea:
That's exactly what i need.

Thanks a lot
Gruß
CADwiesel
Besucht uns im CHAT