Hello,
is it possible to call the 'Create from Selected Entites' function for Polylines in a script? I've searched the docs and only found RPolyline::appendShapeAuto, which creates only a single polyline.
I want to identify all shapes that are not closed once converted to a polyline, so if there is a better solution for this, any hints would be greatly appreciated.
Thanks,
Ewald
How do i use Draw > Polyline > Create from Selected Entities in script
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
-
- Newbie Member
- Posts: 5
- Joined: Tue Jul 10, 2018 10:09 am
Re: How do i use Draw > Polyline > Create from Selected Entities in script
Code: Select all
include("scripts/Pro/Draw/Polyline/PolylineFromSelection/PolylineFromSelection.js");
PolylineFromSelection.autoJoinSegments(documentInterface, tolerance, this);