Jump to content

Adding customs properties to properties rollover menu


koudougou

Recommended Posts

Hi,

 

my question is more about feasibility than doing it. I read forums threads but I can't really manage to find the right answer, because Autocad is a new

field to me and I can't really manage to ask the good question to Google.

Employees in my company are working with Autocad 2013, with payed licenses. When right-clicking on a figure, you chose the "Properties" menu and then a rollover menu appears on the side of the screen, containing some properties.

 

I want to know if it is possible to add some custom properties to geometric figures and see those properties in the rollover menu. I want those properties to be editable. For example, for all polylines, I want the rollover menu to display two custom properties named "MyOwnProperty1" and "MyOwnProperty2", and being able to edit those values.

 

I don't really care if I should use AutoLisp or other technologies, right now I just want to know if there is a way to accomplish that.

If you find that I don't use the good terms, words, please give me some links regarding the subject so I can improve my knowledge.

 

Thank you for your answers.

Link to comment
Share on other sites

If you mean the properties as shown in the second image.

 

 

You can choose the options in the CUI (first image) but I don't know if you can add custom properties.

EDIT(inserting images is not intuitive)

RolloverA.jpg

RolloverB.jpg

Link to comment
Share on other sites

guran : what I call the rollover menu is the menu you obtains by right-clicking on a element and clicking on "Properties" in the box. It displays a Properties menu on the side of the screen. You say I have to look for in Dynamic Blocks. Do you know for sure if I can create custom properties with those things ?

 

steven-g : I don't mean the menu shown in the second image exactly, which is the "Quick Properties" menu and only a part of what you see in the "Properties" menu. Both can be configured as you said by using the CUI and choosing only a set of pre-existing properties, but what I want to know is if there is a way to create custom properties and display them in those menu ?

Link to comment
Share on other sites

Thanks a lot for this information. Now, I have two new questions for you. Those informations (the custom properties and their values), are they only present when working with Autocad or are they also present in the final dxf file, so scripts using the dxf files can see them ? Please tell me if I'm not clear.

Also, I read that Extended Data (xdata) are some marvellous things, and when you managed to use them you are kind of a king and can do whatever please you. Does Extended Data worth spending the time to learn them, as I read in some threads ?

Link to comment
Share on other sites

The image I gave is the "rollover tooltip" which is different to the Quick properties, which is again different to the Properties toolpalette. I think the simple answer is no you can't just add custom properties, you can change the object into a block and use attributes to hold further information, or another possible option would be to Hyperlink a document to objects and store any other data that way. It depends on what you are wanting to do.

Link to comment
Share on other sites

Thank you also for your answer, and the clarification about the name of the differents boxes.

 

What the employees are asking is to fill some custom fields on their drawings and that those custom attributes and values can later be found in the dxf file, so other tools processing the dxf file can find the regular attributes and their values but also the custom ones.

 

So, conclusion : we can't add custom properties to an object with Autocad 2013. I have to turn objects into blocks and then use attributes to add custom information. Am I right ?

Link to comment
Share on other sites

I think there has been a lot of misunderstanding here. You must go to the AutoCAD help and study the difference between the properties, dynamic blocks, attributes, xdata and fields.

Link to comment
Share on other sites

I will go to the Autocad help and study the differences between those things.

Can you clarify the misunderstandings ? What am I understanding wrongly ?

Link to comment
Share on other sites

Hum, ok. What I understood of that thread is that adding custom properties to an object is impossible. I have to either convert the object into a dynamic block, or use xdata.

Link to comment
Share on other sites

As suggested before, a regular block with attributes can hold that data for you. AutoCAD's help can be very confusing, please feel free to continue to ask your questions here.

Link to comment
Share on other sites

Thank you also for your answer, and the clarification about the name of the differents boxes.

 

What the employees are asking is to fill some custom fields on their drawings and that those custom attributes and values can later be found in the dxf file, so other tools processing the dxf file can find the regular attributes and their values but also the custom ones.

 

So, conclusion : we can't add custom properties to an object with Autocad 2013. I have to turn objects into blocks and then use attributes to add custom information. Am I right ?

 

Yes and no. It can be done with AutoCAD Map as this it typical for GIS data. While they show up in the Properties Palette they are not output by the list command and can only be accessed by AutoCAD Map which I doubt would help you.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...