constant attributes

constant attributes

Anonymous
Not applicable
301 Views
1 Reply
Message 1 of 2

constant attributes

Anonymous
Not applicable

 

I am a beginner in vb.net but with some experience in VBA, and am always sure what I'm doing in vb.net when it works.Smiley Happy
Right now I need a routine that can read attribut values ​​for a large amount of attributes in several block. - The old VBA routine is very slow in 64 BITAutoCAD12.
I have created a vb.net routine which does most of the work satisfactorily, but the routine does not read the constant attributes and I can not figure out how I get thesevalues.
Can anyone help with suggestions.
 
0 Likes
302 Views
1 Reply
Reply (1)
Message 2 of 2

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> [...] but the routine does not read the constant attributes

All what is constant is part of the BlockDefinition and not part of the BlockReference. So you have to get access to the BLOCK-Object, scan for AttributeDefintions having your requested TAG.

 

HTH, - alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes