DubweiserTM Posted February 4, 2010 Posted February 4, 2010 Hi everybody ! I created a specific property for walls and I want to get the value in, is someone could help me, I appreciated very very much ? Please check the printscreen attached... Thanks in advance ! Quote
DubweiserTM Posted February 9, 2010 Author Posted February 9, 2010 If you want to find an answer go to Augi Forum Website The code below, provided by jwanstaett, works great ! Dim varAcadDwg As Variant Dim wallCollection As New Collection Dim acadObj As AcadObject Dim Mypro As AecScheduleProperty Dim strTest As String Set varAcadDwg = ThisDrawing.ModelSpace For Each acadObj In varAcadDwg If acadObj.ObjectName = "AecDbWall" Then Set Mypro = GetPro("DemtecMurs_O", "CadSubtype", acadObj) strTest = Mypro.Value MsgBox strTest End If Next Quote
Recommended Posts
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.