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

Attributes to block

5 REPLIES 5
Reply
Message 1 of 6
Anonymous
232 Views, 5 Replies

Attributes to block

Hi All,

I have created a block with C#, now i'm trying to set new attributes to that block, like date, Company Name etc, can any one help me in doing this, with example code please.

regards
Prakash.C
5 REPLIES 5
Message 2 of 6
Anonymous
in reply to: Anonymous



--
R. Robert Bell


wrote in message news:5135386@discussion.autodesk.com...
... can any one help me in doing this, with example code please.
Message 3 of 6
Anonymous
in reply to: Anonymous

Have you had a look at the AutoCAD NET Lab Exercises ?
AutoCAD .NET Labs (zip - 376 Kb)
http://usa.autodesk.com/adsk/servlet/index?id=1911627&siteID=123112

and the help Files :
http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=773180

///
kwb

wrote in message news:5135386@discussion.autodesk.com...
Hi All,

I have created a block with C#, now i'm trying to set new
attributes to that block, like date, Company Name etc, can any one help
me in doing this, with example code please.

regards
Prakash.C
Message 4 of 6
Anonymous
in reply to: Anonymous

Hi Kerry,

I already came through this documents and examples but i couldn't find any needy source in this. Is there any thing apart from this..?

regards
Prakash.C
Message 5 of 6
Anonymous
in reply to: Anonymous

From Lab 5

//Attribute Definition

AttributeDefinition text = new AttributeDefinition(center, "NoName",
"Name:", "Enter Name", db.Textstyle);

text.ColorIndex = 2;


/// kwb

wrote in message news:5137245@discussion.autodesk.com...
Hi Kerry,

I already came through this documents and examples but i couldn't
find any needy source in this. Is there any thing apart from this..?

regards
Prakash.C
Message 6 of 6
Anonymous
in reply to: Anonymous

Hi Kerry,

Thank U very much for U'r guidance, finally i got it, thank U,

regards
Prakash.C

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