Custom Properties

Custom Properties

Anonymous
Not applicable
793 Views
1 Reply
Message 1 of 2

Custom Properties

Anonymous
Not applicable

Is there an equvalent in vb.net for this VBA command: ThisDrawing.SummaryInfo.GetCustomByKey name, value?

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

norman.yuan
Mentor
Mentor

 Look into DatabaseSummaryInfo structure and DatabaseSummaryInfoBuilder class.

 

Usually you use DatabaseSummaryInfoBuilder class to manipulate information from Database.SummaryInfo property (DatabaseSummaryInfo structure), and after you done with the information, you update the information back to Database.SummaryInfo.

 

In this case, the equivalent you are after is:

 

Dim custProp As Object = DatabaseSummaryInfoBuilder.CustomPropertyTable(key)

Norman Yuan

Drive CAD With Code

EESignature

0 Likes