In the past I used "AddExtrudedSolid" to extrude a region without any problems, worked like a charm see "old" code below.
F3D = AcadDoc.ModelSpace.AddExtrudedSolid(AcadRegion, Math.Abs(CollThickness(x)), 0)
I'm currently updating the code because "AddExtrudedSolid" is now known as "CreateExtrudedSolid". In the new version, my last parameter is asking for a "sweepoptions". Doesn't matter what I put there, it doesn't like it. See the code below. What do I need to do to make it work?
Dim so As SweepOptions F3D = acSol3D.CreateExtrudedSolid(AcadRegion, Math.Abs(CollThickness(x)), so )
Solved! Go to Solution.
Solved! by Hallex. See the answer in context.
Access a broad range of knowledge to help get the most out of your products and services.