In addition to the area attribute of the polyline I would also need xmax, xmin, ymax and ymin.
Is is possible to define custom attributes for these informations ? May be I need the pro version to do that.
Additionaly, is it possible to extract a list of all polylines objetcs in a drawing with some attributes, to use it for statistical purposes with Excel for example ?
Thank you.
custom attributes
Moderator: andrew
Re: custom attributes
Not without changing C++ code.pdubalen wrote:In addition to the area attribute of the polyline I would also need xmax, xmin, ymax and ymin.
Is is possible to define custom attributes for these informations ? May be I need the pro version to do that.
Sure, using the script interface, you could relatively easily build a tool that exports information about entities to CSV or XML for example.Additionaly, is it possible to extract a list of all polylines objetcs in a drawing with some attributes, to use it for statistical purposes with Excel for example ?
Re: custom attributes
Oh thanks, the x and y coordinates of the points of the polyline being available, I thought that the calculation of min and max was not a big issue, but OK.
Is the pro version required to use what you call the script interface ?
Thanks again.
Is the pro version required to use what you call the script interface ?
Thanks again.
Re: custom attributes
It's not. The bounding box is just not something a user is typically interested in.pdubalen wrote:Oh thanks, the x and y coordinates of the points of the polyline being available, I thought that the calculation of min and max was not a big issue, but OK.
No, see "scripts" folder.pdubalen wrote:Is the pro version required to use what you call the script interface ?