Page 1 of 1
Undocumented: RWipeoutEntity
Posted: Fri Mar 07, 2025 6:21 pm
by CVH
Andrew,
What are the signatures to create an
RWipeoutEntity?
What are the methods associated with it.
Thinking of:
- Checking its proxy
RWipeoutEntity.getPosition()
RWipeoutEntity.getBoundaryShapes()
The setters for these and so on.
Regards,
CVH
Re: Undocumented: RWipeoutEntity
Posted: Sun Mar 09, 2025 9:05 am
by CVH
Replying on my own question:
Although unlisted in the QCAD API or the
Entity Module
- Generated on Thu Apr 15 2021 and outdated by now!
And although it is said to be a QCAD Professional feature.
- See QCAD Changelog: 3.31.0 (2024/09/18)
Everything we need can be deducted from the Open Source or 'Community Edition' files at
GitHub.
Not really by proxy so a good practice when scripting would be to verify for a minimal release >= 3.31.1.0
Code: Select all
var frameworkV = getVersionNumber(RSettings.getMajorVersion(), RSettings.getMinorVersion(), RSettings.getRevisionVersion(), RSettings.getBuildVersion());
var minV = getVersionNumber(3, 31, 1, 0);
if (frameworkV < minV) {
// Don't use Wipeout entities
}
Remind that the drawing order is assigned on creation of a new entity.
Create a Wipeout after the content that must be blanked AND before the content that must be in front of it.
Or rearrange things afterwards by adapting the drawing order.
Regards,
CVH
Re: Undocumented: RWipeoutEntity
Posted: Mon Mar 10, 2025 6:23 pm
by 333onlyhalfevil
What exactly is a Wipeout Entity? Something that covers up other entities?
Re: Undocumented: RWipeoutEntity
Posted: Tue Mar 11, 2025 5:35 am
by CVH
333onlyhalfevil wrote: ↑Mon Mar 10, 2025 6:23 pm
What exactly is a Wipeout Entity?
Compare it with a solid filled hatch that blanks everything with a lower drawing order.
The difference is that its color is kinda 'unspecified' because it is always in the background color.
Introduced in QCAD 3.31.0, fixed in 3.31.1 ... Other fixes are required.
Regards,
CVH