Jump to content

Is it possible to insert a DXF 300 code (arbitrary string) in a LINE entity?


gerardo2m
 Share

Recommended Posts

Hi.

 

Well, is it possible to insert a DXF code 300-309 (arbitrary string) in entities such as LINE, CIRCLE, POINT, etc.?

 

 

 

(progn
	(setq listaOriginal (entget (SSNAME (SSGET "_:S") 0)))
	(entmake (append listaOriginal (list (cons 301 "test"))))
	(setq listaFinal (entlast))
)

 

Result: 

Invalid field type 301 in (entmake).nil

 

 

Greetings.

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

 Share

×
×
  • Create New...