ECMAScript related discussions for developers who use the QCAD version 3.1 ECMAScript development platform.
Moderator: andrew
by 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,
Kurt

-
kurtforrester
-
- Posts: 3
- Joined: Wed Mar 30, 2011 2:21 pm
by 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:
http://www.ribbonsoft.com/bugtracker/in ... ask_id=426
-
andrew
- Site Admin
-
- Posts: 1839
- Joined: Fri Mar 30, 2007 6:07 am
Return to QCAD 3.1 Developers
Who is online
Users browsing this forum: No registered users and 1 guest