.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

constant attributes

1 REPLY 1
Reply
Message 1 of 2
Anonymous
230 Views, 1 Reply

constant attributes

 

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.
 
Tags (1)
1 REPLY 1
Message 2 of 2
Alfred.NESWADBA
in reply to: Anonymous

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
Ingenieur Studio HOLLAUS ... www.hollaus.at ... blog.hollaus.at ... CDay 2024
------------------------------------------------------------------------------------
(not an Autodesk consultant)

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost