Jump to content

How to get property set of a Wall


Recommended Posts

Posted

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 !

Property set.jpg

Posted

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

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...