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
User Defined Custom Entity
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.
-
- Newbie Member
- Posts: 3
- Joined: Wed Mar 30, 2011 2:21 pm
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
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