VB_NET Create a block with solid

VB_NET Create a block with solid

Anonymous
Not applicable
465 Views
1 Reply
Message 1 of 2

VB_NET Create a block with solid

Anonymous
Not applicable

Hi there,

    I'm new in .net and I find some example so I'm konw hot to make a Block with lines and circles and how to make a solid extruded by a region maked with a closed polyline.

But I'm trying to make a block with inside a solid (same described before) and I can't find the solution or examples on the web,

can someone help me?

C# code wiil be good as well

Thank you

0 Likes
466 Views
1 Reply
Reply (1)
Message 2 of 2

_gile
Consultant
Consultant

Hi,

AutoCAD entities always own to a BlockTableRecord (which may be the model space, a paper space or a bloc definition).

So you add the Solid3d (or any other entity) to the BlockTableRecord of your block definition with the Appendentity method as you do to add an entity in the model space.



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

0 Likes