How to Create a Solid Shape in "Generic Model Adaptive.rtf" Using Family API

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everyone
I'd like to create a parametric solid shape in "Generic Model Adaptive.rtf" template. However, I faced with some problems.
First, I don't know how to draw a sketch while 3D snapping feature is active. In UI, there is a check-box that can be marked while drawing a chain of lines (please see the attached pic), but How can I turn this feature on through API.
Second, in this template, there is only a "Create Form" item that takes into account all the other functionalities like
Extrusion, loft, sweeps, and so on. But, I don't know how to use that item through API. Which method does correspond to that item. "NewExtrusion" doesn't work in this template.
Hint: I've written a code that works in Generic Model.rtf perfectly, but I couldn't do the same in this template.