Hello
How can I get the ID of a polyline I'm drawing?
How can I get the ID of a polyline I'm drawing?
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
-
- Full Member
- Posts: 83
- Joined: Fri Apr 17, 2015 6:40 am
- Location: http://creativitainformaticart.altervista.org
-
- Full Member
- Posts: 83
- 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?
I resolved this way:
Var pl = new RPolylineEntity (document, new RPolylineData ());
......
.......
......
EAction.handleUserMessage ("Polyline ID =" + pl.getId ());
Var pl = new RPolylineEntity (document, new RPolylineData ());
......
.......
......
EAction.handleUserMessage ("Polyline ID =" + pl.getId ());