Hello.
Please, explain to me the difference between RLine and RLineEntity.
Why RLine is created and then convert to RLineEntity in scripts/simple_create.js?
Why one not create RLineEntity right away?
Are RLine and others RShape need what for?
RLine vs RLineEntity
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.
Re: RLine vs RLineEntity
RLine represents the mathematical concept of a line segment. RLine is copyable and does not have any relationship to a document or to attributes, layers, blocks, etc.
RLineEntity has attributes (color, linetype, line style), is on a layer, on a block and typically part of a document.
RLineEntity has attributes (color, linetype, line style), is on a layer, on a block and typically part of a document.