Author Topic: Mtext & Multileaders (Annotated) Issues/Questions: Backgroundmask & Rotation  (Read 3069 times)

0 Members and 1 Guest are viewing this topic.

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
With a switch to annotated objects and the use of multileaders, i've noticed a lot of my routines that i would normally use do not work (entmod'ing the DXF).
i've been in the process of rewriting these routines in vla with lots of luck. however, i've noticed a few problems.

Rotation:
If i vla-put-rotation or vla-put-textrotation to an object, it will alter the object with the desired rotation and look fine. however, if the object is annotated, it will NOT rotate the alternate scales. Is my only option to "Annoreset" the object (if i actually do what them the same rotation) after i've set the rotation, and if so, is it possible to do this w/o the command?

Background Mask:
If i vla-put-backgroundfill or vla-put-textbackgroundfill, i've noticed that it uses the default 1.5 offset. is it possible to change this


Am i missing something about accessing annotated information about objects? I can't even tell the difference b/w an annotated and non-annotated object when i either entget or vlax-dump-object.
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox

T.Willey

  • Needs a day job
  • Posts: 5251
I don't use annotation entities, but I think the information is stored within the extension dictionary of the object.
Tim

I don't want to ' end-up ', I want to ' become '. - Me

Please think about donating if this post helped you.

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
I don't use annotation entities, but I think the information is stored within the extension dictionary of the object.

hmm, ok, i understand you use vla-getxdata, but how can i find out the information to fill the other parameters for the vla-get?
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox

T.Willey

  • Needs a day job
  • Posts: 5251
I don't use annotation entities, but I think the information is stored within the extension dictionary of the object.

hmm, ok, i understand you use vla-getxdata, but how can i find out the information to fill the other parameters for the vla-get?

Don't know.  If you post a sample drawing, maybe I/someone could play around, and see what help we can offer.
Tim

I don't want to ' end-up ', I want to ' become '. - Me

Please think about donating if this post helped you.

sourdough

  • Bull Frog
  • Posts: 367
With a switch to annotated objects and the use of multileaders, i've noticed a lot of my routines that i would normally use do not work (entmod'ing the DXF).
i've been in the process of rewriting these routines in vla with lots of luck. however, i've noticed a few problems.

Rotation:
If i vla-put-rotation or vla-put-textrotation to an object, it will alter the object with the desired rotation and look fine. however, if the object is annotated, it will NOT rotate the alternate scales. Is my only option to "Annoreset" the object (if i actually do what them the same rotation) after i've set the rotation, and if so, is it possible to do this w/o the command?

Background Mask:
If i vla-put-backgroundfill or vla-put-textbackgroundfill, i've noticed that it uses the default 1.5 offset. is it possible to change this


Am i missing something about accessing annotated information about objects? I can't even tell the difference b/w an annotated and non-annotated object when i either entget or vlax-dump-object.

I just posted a MText border offset routine that was made by 2 other authors from here that could be modified for you to merge
to be a program that would solve your problem of Border offset.

See this post:
Ethics on combing 2 lisp routines diff. authors and got a better Background Mask

MJP
sourdoug
LDC 2009/C3D 2010/C3D 2011/C3D 2016

Win 10 64bit

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
With a switch to annotated objects and the use of multileaders, i've noticed a lot of my routines that i would normally use do not work (entmod'ing the DXF).
i've been in the process of rewriting these routines in vla with lots of luck. however, i've noticed a few problems.

Rotation:
If i vla-put-rotation or vla-put-textrotation to an object, it will alter the object with the desired rotation and look fine. however, if the object is annotated, it will NOT rotate the alternate scales. Is my only option to "Annoreset" the object (if i actually do what them the same rotation) after i've set the rotation, and if so, is it possible to do this w/o the command?

Background Mask:
If i vla-put-backgroundfill or vla-put-textbackgroundfill, i've noticed that it uses the default 1.5 offset. is it possible to change this


Am i missing something about accessing annotated information about objects? I can't even tell the difference b/w an annotated and non-annotated object when i either entget or vlax-dump-object.

I just posted a MText border offset routine that was made by 2 other authors from here that could be modified for you to merge
to be a program that would solve your problem of Border offset.

See this post:
Ethics on combing 2 lisp routines diff. authors and got a better Background Mask

MJP
sourdoug

yeah, i had given up and decided to mod it through the dxf. problem i've encountered now, is it won't work on multileaders (code 141). multileaders aren't as big of a deal, it was really just the mtext i had to have drawn along a line that, at a 1.5 offset, was covering the line. i would rather be consistent, but i can live with it. thanks :)
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox