60001894 I would like to have a visual command to Add SectionClips

Article 60001894
Type Wish
Product Engine
Date Added 1/28/2013 12:00:00 AM
Fixed (1/28/2013 12:00:00 AM)
Submitted by Peter Chanios

Summary

I would like to have a visual command to Add SectionClips

Solution

In version 6025 we added a new command to the vdCommandAction object as following

summary> A command to add a section clip to the active layout.
param name="Name">The name of the Section Clip or null , "user" so the user is asked for a name.
param name="Origin">A gPoint representing the Origin of the section or "USER",null so the user picks this point.
param name="Direction">A Vector that represents the direction of the section clip or "USER",null so the user picks the direction.
returns>True if a section clip was added to the Sections collection.
public bool CmdAddSectionClip(object Name, object Origin, object Direction)

This command can be found in Simplecad under Draw->3D Surfaces->Add Section Clip
Note that this action takes place in UCS and the section provided is always perpedicular to the screen. So In order to Add a section you should rotate the scene and then set the UCS to View in order to set the section easily to what you see.
Also note that Sectionclips are not visible when the rendermode is wire2D.
If all parameters are passed with null then the user firstly will be asked for a name for the section clip , then for the Origin point and lastly will be asked to specify the Direction of the Section clip.
The arrows indicate the visible area of the section.

Send comments on this topic.