.NET

Reply
Valued Contributor
Prakashdotc
Posts: 88
Registered: ‎03-03-2006
Message 1 of 6 (73 Views)

Attributes to block

73 Views, 5 Replies
04-07-2006 12:15 AM
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
*R. Robert Bell
Message 2 of 6 (73 Views)

Re: Attributes to block

04-07-2006 09:58 PM in reply to: Prakashdotc


--
R. Robert Bell


wrote in message news:5135386@discussion.autodesk.com...
... can any one help me in doing this, with example code please.
*Kerry Brown
Message 3 of 6 (73 Views)

Re: Attributes to block

04-08-2006 08:14 PM in reply to: Prakashdotc
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
Valued Contributor
Prakashdotc
Posts: 88
Registered: ‎03-03-2006
Message 4 of 6 (73 Views)

Re: Attributes to block

04-10-2006 02:11 AM in reply to: Prakashdotc
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
*Kerry Brown
Message 5 of 6 (73 Views)

Re: Attributes to block

04-11-2006 01:21 AM in reply to: Prakashdotc
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
Valued Contributor
Prakashdotc
Posts: 88
Registered: ‎03-03-2006
Message 6 of 6 (73 Views)

Re: Attributes to block

04-11-2006 07:21 AM in reply to: Prakashdotc
Hi Kerry,

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

regards
Prakash.C

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community