Add PropertySetDefinition from Excel

Hi, automatic properties definitions in property set definitions you can create with sample Dynamo graphs installed with Dynamo.

Go to this folder C:\ProgramData\Autodesk\C3D 2023\Dynamo\samples\Data\AutoCAD\pset
Open pset_utils.py

You can get inspiration from Paolo Emilio Serra code and function create_ps_definitions_json.

Example here:

                        for jpd in jpsd.Definitions:
                            pd = PropertyDefinition()
                            pd.Automatic = jpd.Automatic
                            pd.DataType = DataType.Parse(DataType, jpd.DataType, True)
2 Likes

Thanks, I know. What I meant is that I don’t know if @jhonne.arq can use it, it may be difficult for them.

1 Like

Thank you guys!
This is actually a little advanced for me at the moment.
For now I will continue studying and in the future I will return to this topic to try to implement the suggestions you gave.

It cost!

1 Like