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

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

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files, scripts and screenshots.

Post one question per topic.

Post Reply
pietro_72_
Full Member
Posts: 81
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_
Full Member
Posts: 81
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 Programming, Script Programming and Contributing”