Jump to content

Mtext background mask lisp needed


bijoyvm

Recommended Posts

You can get some help if you want to write one...

Here's a hint to get you started

(vlax-put-property obj 'BackgroundFill :vlax-true)

Link to comment
Share on other sites

hi thanks for ur help

I tryed this one but im getting an error like this

(; error: bad argument type: VLA-OBJECT ()

 

Actually Im trying to make cordinate lisp..I need to put text mask on my leader mtext my command is like this

 

(command "leader" PNT1 PTXT "" (strcat "Sta. " txt) (strcat "Elev. " STDY) "")

 

after this I need to give text mask on this mtext

 

thanks

bijoy.v.m

Link to comment
Share on other sites

The 'obj' as referenced in lpseifert's post needs to be a VLA-Object; you can convert an entity to such an object using

 

 (vlax-ename->vla-object <entity>)

 

I would advise you to look up vlax-put-property in the VLIDE Help Docs.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...