How to put (apply) values at a line(object) as properties?

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
agvs
Posts: 30
Joined: 16 Jun 2016, 11:10

How to put (apply) values at a line(object) as properties?

Post by agvs » 17 Jun 2016, 07:39

Hello,
I’d like to put values I want at line(object) such as ‘ID’ and other types.

My sequence(I want) is below,
After I select(click) the line, I will put the values at the properties box as properties.(ref. See attached picture)

Let me know how I follow to make that situation in detail.(I couldn’t find that issue in forum)
Thanks,
JungHee Yoon
Attachments
캡처.JPG
캡처.JPG (109.54 KiB) Viewed 15088 times

support
Posts: 3271
Joined: 30 Mar 2005, 11:36
Contact:

Re: How to put (apply) values at a line(object) as propertie

Post by support » 17 Jun 2016, 16:49

Hello,

Could you give the information about the position and size of the properies box and its fields (ID, A, B, etc.)? For example: should their position be fixed relative to the object position or not? Should the properties box size be fixed or not? Generally, you will need to convert the entity properties to the string values and put these values on the drawing as CADText entities, but the position and size (height, width scale) of CADText entities should be calculated so that the texts would fit inside the properties box and be aligned in the fields.


Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

agvs
Posts: 30
Joined: 16 Jun 2016, 11:10

Re: How to put (apply) values at a line(object) as propertie

Post by agvs » 20 Jun 2016, 05:24

Dear Mikhail,
Thank you for reply.
I'd like to make in my program not only getting basic properties(position-x, y) information but also putting values(string values) in other properties I defined. When it comes to other properties I defined, those are name/ID of line(object), velocity, plus sign/minus sign, and so on. User will put some values in those. And then the values will be calculated in other part. Anyway, my purpose is just to put some values(string values) in the properties I defined. Let me know it(If my explanation is not enough, let me know).
The properties box size is not fixed. I don't mind both ‘the left and under properties box’ and the dropdown box such as attached picture’ about putting values after selecting(clicking) a line(object).
Like to the left and under properties box, putting the values(string values) inside the properties box is fine. Let me know how to follow that case?

Post Reply