User Defined Custom Entity

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

Moderator: andrew

Newbie Member
Posts: 3
Joined: Wed Mar 30, 2011 2:21 pm

User Defined Custom Entity

Postby kurtforrester » Thu Dec 08, 2011 10:32 am

I would like to create a custom entity for an application (FlowLineEntity). The entity would essentially inherit polyline and add a few custom properties. Is this possible? If it is possible I would additionally want to listen for modifications to entity in order to control the behaviour of the modifications. The entity is similar to a dimension line and would be used in developing process flow diagrams and piping & instrumentation diagrams. The FlowLineEntity is terminated with an arrowhead and provides "jumps" when intersecting other FlowLineEntity's similar to AutoCAD P&ID. I have included a link to a screenshot indicating what I want to achieve.

Thanks in Advance,


User avatar
Site Admin
Posts: 5121
Joined: Fri Mar 30, 2007 6:07 am

Postby andrew » Thu Dec 08, 2011 11:39 am

The final version of QCAD 3.0 will not have support for custom entities (scriptable entity extensions) or custom properties that can be assigned to entities.

Custom properties are planned for QCAD 3.1.

Scriptable entities would definitely be interesting for applications like the one you described. I've added a feature request for this without a schedule yet: ... ask_id=426

Return to “QCAD Developers and Contributors”

Who is online

Users browsing this forum: No registered users and 0 guests