How can I get the ID of a polyline I'm drawing?

Discussion forum for contributors and developers who are using the QCAD ECMAScript development platform or the C++ plugin interface or who are otherwise looking to contribute to QCAD (translations, documentation, etc).

Moderator: andrew

Post Reply
pietro_72_
Active Member
Posts: 32
Joined: Fri Apr 17, 2015 6:40 am
Location: http://creativitainformaticart.altervista.org

How can I get the ID of a polyline I'm drawing?

Post by pietro_72_ » Wed Jul 26, 2017 9:29 pm

Hello

How can I get the ID of a polyline I'm drawing?

pietro_72_
Active Member
Posts: 32
Joined: Fri Apr 17, 2015 6:40 am
Location: http://creativitainformaticart.altervista.org

Re: How can I get the ID of a polyline I'm drawing?

Post by pietro_72_ » Sun Jul 30, 2017 4:08 pm

I resolved this way:

Var pl = new RPolylineEntity (document, new RPolylineData ());
......
.......
......
EAction.handleUserMessage ("Polyline ID =" + pl.getId ());

Post Reply

Return to “QCAD Developers and Contributors”