Author Topic: Define custom entity data  (Read 2239 times)

0 Members and 1 Guest are viewing this topic.


  • Guest
Define custom entity data
« on: May 16, 2009, 11:14:35 AM »
I like to create a custom entity - using Bricscad DRX - which contains a lot of line segments. The lines itself is not important for me, but when I double click my entity, all segments have to be selected as a single entity and to return some entity common specific data, like a few String data (my entity name,etc). I do not want to use block with attached data, but pure custom entities.
How could I define the member variables of this custom entity, and how could be inserted in a dwg file database (to be displayed and saved)? I take a look to Smiley example but here I'm dealing with an unknown number of line segments which composed my entity.
Right now I'm not interested in details for every line segments, maybe in the future as an advanced step.
« Last Edit: May 16, 2009, 11:18:52 AM by iumike »