any example of sketchblock?

any example of sketchblock?

Anonymous
Not applicable
401 Views
1 Reply
Message 1 of 2

any example of sketchblock?

Anonymous
Not applicable

Hi,

 

I was tring to extrude a ring formed by two circles with vb.net for a part.

 

Think I need define the profile with sketchblock. If there any sample code shows how to use it? Is there a website like the autocad.net where I can get the sample for the api?

 

Thx.

 

cean

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

Anonymous
Not applicable

solved. no need of sketchblock.

 

I found this sample code in the help file:

 

            'Create the profile needed for extrusion
            oprofile = osketch.Profiles.AddForSolid(False)

            Dim oProfPath As ProfilePath
            For Each oProfPath In oprofile
                If oProfPath.Item(1).SketchEntity Is oCircle2 Then
                    oProfPath.AddsMaterial = False
                End If
            Next


0 Likes