.NET

Reply
*Tim Riley
Message 1 of 2 (111 Views)

Need a good example please.

111 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
Message 2 of 2 (111 Views)

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
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.