Add new columns/attributes

Hi everyone,

I had a doubt regarding the exporting system using Python4Capella. Is it possible to add a new column in order to give a concrete value to an attribute? (like the price). What I have achieved is to obtain the plain description of the Node PC used, but I want to add more precise information.

Thank you.

Hi Omar,

Do you mean you would like to add an attribute “Price” to Node PC elements, and then export its value with Python for Capella?

If yes, you can add the property with the PVMT add-on. Then, it is possible to read or write its values with Python for Capella, pretty much as with other native properties.

Let us know if it answers your question, or if you mean something else!

Martin Le Bourgeois
ObeoSoft Canada

1 Like

Hi Martin,

Yes, it is what I wanted to do. Once the add on is installed, which are the steps to follow in order to add or modify the columns I wanted?

Thank you,

Omar.

Hi Omar,

For this, you should take a look at the PVMT user guide, which will explain it better than I could.

You will find it in the help contents of Capella (help → Help Contents → Property Value Management Tool Guide).

Martin
ObeoSoft Canada

1 Like