.NET

Reply
*Tim Riley
Post 1 of 2

Need a good example please.

112 Views, 1 Replies
07-27-2005 11:10 AM
Could someone please give me (or point me in the direction of) an example on
inserting a block into modelspace using C#?

When it comes to C# I am fairly new but I am quite familiar with VBA. In VBA
I would use something like Set Blah =
Thisdrawing.ModelSpace.InsertBlock(InsertPoint, BlockName, ScaleX, ScaleY,
ScaleZ, RotationAngle) but I can't seem to find the equivalent in C#. I
think I'm going about it all wrong.

TIA,

Tim Riley
*Tim Riley
Post 2 of 2

Re: Need a good example please.

07-27-2005 12:57 PM in reply to: *Tim Riley
Please disregard. I found an example by Albert from earlier this month.

Tim Riley

"Tim Riley" wrote in message
news:4912689@discussion.autodesk.com...
Could someone please give me (or point me in the direction of) an example on
inserting a block into modelspace using C#?

When it comes to C# I am fairly new but I am quite familiar with VBA. In VBA
I would use something like Set Blah =
Thisdrawing.ModelSpace.InsertBlock(InsertPoint, BlockName, ScaleX, ScaleY,
ScaleZ, RotationAngle) but I can't seem to find the equivalent in C#. I
think I'm going about it all wrong.

TIA,

Tim Riley
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post