Author Topic: How obtain with "handent" the properties of a polyline?  (Read 1994 times)

0 Members and 1 Guest are viewing this topic.

robertocuba

  • Guest
How obtain with "handent" the properties of a polyline?
« on: June 09, 2009, 12:19:12 PM »
Hello:

How obtain with "handent" the properties of a polyline?

Thanks

T.Willey

  • Needs a day job
  • Posts: 5251
Re: How obtain with "handent" the properties of a polyline?
« Reply #1 on: June 09, 2009, 12:30:05 PM »
Use ' entget ' on what is returned by that function.
Tim

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

Please think about donating if this post helped you.

gile

  • Gator
  • Posts: 2520
  • Marseille, France
Re: How obtain with "handent" the properties of a polyline?
« Reply #2 on: June 09, 2009, 12:32:23 PM »
Hi,

- what does the handent function return ?
- which LISP function is needed to get  an entity properties ?
- what type of argument does this function require ?

reply to these questions and you'd have the reply to yours.
Speaking English as a French Frog

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: How obtain with "handent" the properties of a polyline?
« Reply #3 on: June 09, 2009, 12:32:35 PM »
If you have the handle of an entity (handent handle) returns the entity name of the entity, which you can then use in an entget call to retrieve the dxf data. If you convert a handle to an object via (vla-handletoobject handle) you can access the object's properties and methods.

What was your teacher's original question?
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst