ADD a Civil 3D Property Set with VBA

ADD a Civil 3D Property Set with VBA

seabrahenrique
Advocate Advocate
324 Views
1 Reply
Message 1 of 2

ADD a Civil 3D Property Set with VBA

seabrahenrique
Advocate
Advocate

Is there a way to add property set in a block with VBA?

 

I mean, something like we did with atributes "Block.AddAttribute"

 

I know Property Set is especific element of Civil 3D, so its probably that i have to add some library, wich one? 

 

And after add that library, how can i add a property set in my drawing with vba code? It's possible?

 

Thanks in advance 🙂

 

0 Likes
325 Views
1 Reply
Reply (1)
Message 2 of 2

norman.yuan
Mentor
Mentor

PropertySetData was first introduced to Acad Architecture, and then found its way into AutoCAD AEC verticals (MEP, C3D...). AFSIK, there is only COM API in Arch patially supports it (dealing with schedule data). In C3D, you need to use its .NET API (aecPropDataMgd.dll).

Norman Yuan

Drive CAD With Code

EESignature