Simulation Class

Simulation control definition.
Public Class Simulation 
Inherits Design
This language is not supported or no code example is available.
public class Simulation : Design
This language is not supported or no code example is available.
Name Description
Public property AccurateTransparency When true, the Accurate Transparency mode is activated. Accurate Transparency provides slower but more accurate semi-transparent object drawing with support for non-concave objects and for objects intersection. (inherited from Workspace).
Public property ActionMode Gets or sets the active viewport action. (inherited from Workspace).
Public property ActiveViewport Gets the active viewport. (inherited from Design).
Public property ActiveViewportIndex Gets or sets the active viewport index. (inherited from Design).
Public property AllocatedCharDefs Gets the number of loaded character definitions. (inherited from Workspace).
Public property AmbientLight Gets or sets the ambient light that is always added to the scene (multiplied by the material's ambient component). (inherited from Design).
Public property AnimateCamera If true, animates the camera in the commands that change its position or orientation. (inherited from Workspace).
Public property AnimateCameraDuration Gets or sets the duration in milliseconds of the camera animations. (inherited from Workspace).
Public property AnimationFrameNumber Gets or sets the animation frame number. (inherited from Design).
Public property AnimationInterval Gets or sets the animation interval. (inherited from Design).
Public property AnimationStep Gets or sets the animation step that increments the AnimationFrameNumber at each tick of the animation timer. Can be a negative number. (inherited from Design).
Public property AntiAliasing Gets or sets a value indicating if full screen anti-aliasing is enabled. (inherited from Workspace).
Public property AntiAliasingSamples Gets or sets the number of desired samples for Full Screen Anti-Aliasing. The Full Screen Anti-alasing can be set with the AskForAntiAliasing property. (inherited from Workspace).
Public property AskForAntiAliasing If true, Full Screen Anti-Aliasing modes are requested during viewport initialization. The number of samples can be set with the AntiAliasingSamples property. (inherited from Workspace).
Public property AskForDirect3DLevel9_3 If true, The Direct3D feature level 9_3 is requested during viewport initialization instead of the highest feature level available. (inherited from Workspace).
Public property AskForHardwareAcceleration If true, OpenGL accelerated hardware modes are requested during viewport initialization. (inherited from Workspace).
Public property AssemblySelectionMode Gets or sets a boolean that determines whether the selection goes inside the BlockReference tree. (inherited from Design).
Public property AttributeReferenceVisibilityMode Gets or sets the AttributeReferences visibility mode. (inherited from Workspace).
Public property AutoRefresh When true the Invalidate() and the CompileUserInterfaceElements() are automatically called after changing the properties that are defined as dependency properties. (inherited from Workspace).
Public property BackColor (inherited from WorkspaceBase).
Public property Backface Gets or sets the backface settings, shared by all viewports. This settings don't apply to multicolor entities like Mesh for example. (inherited from Design).
Public property BackgroundImage (inherited from WorkspaceBase).
Public property BackgroundImageLayout (inherited from WorkspaceBase).
Public property Blocks Block collection. This collection contains block definitions. (inherited from Workspace).
Public property BoundingBox Bounding box settings. (inherited from Design).
Public property ButtonStyle Gets or sets the style used by the ToolBar and ProgressBar buttons. (inherited from Workspace).
Public property CameraChangedFrequency The interval, in milliseconds, of CameraChanged events firing. (inherited from Workspace).
Public property ClippingPlane1 Clipping plane 1 attributes. (inherited from Design).
Public property ClippingPlane2 Clipping plane 2 attributes. (inherited from Design).
Public property ClippingPlane3 Clipping plane 3 attributes. (inherited from Design).
Public property ClippingPlane4 Clipping plane 4 attributes. (inherited from Design).
Public property ClippingPlane5 Clipping plane 5 attributes. (inherited from Design).
Public property ClippingPlane6 Clipping plane 6 attributes. (inherited from Design).
Public property CompileWires If true, wireframe entities are compiled, otherwise they are drawn on the fly using a buffered approach. (inherited from Workspace).
Public property CurrentBlock Gets the current block if a BlockReference is set as current, the OpenBlock otherwise. (inherited from Workspace).
Public property CurrentBlockReference Gets the current BlockReference. (inherited from Workspace).
Public property CurrentTransformation Gets the accumulated CurrentBlockReference transformation (including its parents transformations). (inherited from Workspace).
Public property CursorTypes The cursor types dictionary. (inherited from Workspace).
Public property DefaultColor Gets or sets the default color used by top level entities with colorMethodType.byParent color method. (inherited from Design).
Public property DefaultMaterial Gets or sets the default material attributes used by the entities without their own material. (inherited from Design).
Protected property DefaultSize (inherited from WorkspaceBase).
Protected property Enabled (inherited from WorkspaceBase).
Public property Entities Gets the EntityList of the CurrentBlock. This collection contains the entities displayed in the viewport. (inherited from Workspace).
Public property ErrorInPaint Gets a value indicating if an error occurred during paint. (inherited from Workspace).
Public property FaceSelectionAngle Gets or sets the angle (in radians) used to discriminate adjacent triangles in the selection of the faces of Mesh and Solids. (inherited from Design).
Public property Flat Gets or sets the display settings for Flat mode, shared by all viewports. (inherited from Design).
Public property Font Gets or sets viewport font (WinForms). (inherited from Workspace).
Public property FontFamily Gets or sets viewport font family. (inherited from Workspace).
Public property FontSize Gets or sets viewport font. (inherited from Workspace).
Public property FontStyle Gets or sets viewport font. (inherited from Workspace).
Public property FontWeight Gets or sets viewport font. (inherited from Workspace).
Public property ForceHardwareAcceleration Forces accelerated hardware modes. By default, Eyeshot automatically disables hardware acceleration on some embedded GPUs to obtain the maximum level of graphical output consistency between all hardware. In these cases, enabling this property will forcibly activate hardware acceleration, though the resulting graphics output may be unpredictable. (inherited from Workspace).
Public property ForceSymbolColor Gets or sets FEM force symbol color.
Public property ForeColor (inherited from WorkspaceBase).
Public property FramesPerSecond Gets current frames per second rate. (inherited from Workspace).
Public property GroundPlaneDistance Gets or sets the distance between the ground plane and the design's bounding box expressed as a fraction of the design height. (inherited from Design).
Public property HatchPatterns Gets or sets the hatch patterns collection. (inherited from Workspace).
Public property HiddenLines Sets the Hidden Lines options. (inherited from Design).
Public property IsAnimationRunning Tells if the animation is currently running. (inherited from Design).
Public property IsAntiAliasingAvailable Returns true if Full Screen Anti-Aliasing is available. (inherited from Workspace).
Public property IsBestAdapterAvailable Indicates whether the best adapter is available for the renderer initialization or not. (inherited from Workspace).
Public property IsBusy Gets background worker thread status. (inherited from Workspace).
Protected property IsHandleCreated (inherited from WorkspaceBase).
Public property IsHardwareAccelerated Returns true if OpenGL hardware acceleration is currently in use. (inherited from Workspace).
Public property IsImmediateMode Indicates whether the control is using the immediate mode rendering, according to the WorkspaceBase.Renderer value. (inherited from Workspace).
Public property Static IsInDesignMode Gets a value indicating whether the control is in design mode (running in Blend or Visual Studio). (inherited from WorkspaceBase).
Public property IsInFrustumMode Gets or sets the modality used by IsInFrustum() method. (inherited from Workspace).
Public property IsOpenRootLevel True if the OpenBlock is the RootBlock, false otherwise. (inherited from Workspace).
Public property KeepSceneUpright Gets or sets a flag that keeps the scene upright when doing SetView operations or clicking on the ViewCubeIcon faces. (inherited from Design).
Public property Layers Layer collection. (inherited from Workspace).
Public property LayoutMode Gets or sets the viewports configuration. (inherited from Design).
Public property Light1 Light 1 attribute. (inherited from Design).
Public property Light2 Light 2 attribute. (inherited from Design).
Public property Light3 Light 3 attribute. (inherited from Design).
Public property Light4 Light 4 attribute. (inherited from Design).
Public property Light5 Light 5 attribute. (inherited from Design).
Public property Light6 Light 6 attribute. (inherited from Design).
Public property Light7 Light 7 attribute. (inherited from Design).
Public property Light8 Light 8 attribute. (inherited from Design).
Public property LineTypes Gets or sets the line types collection. (inherited from Workspace).
Public property MagnifyingGlass Gets or sets the settings for the magnifying glass displayed under the mouse cursor. (inherited from Workspace).
Public property Materials Material collection. This collection contains material definitions. (inherited from Design).
Public property MaxHatchPatternLines Gets or sets the maximum number of hatch pattern lines allowed for each Hatch. (inherited from Workspace).
Public property MaxPatternRepetitions Gets or sets the maximum number of pattern repetitions allowed between two vertices of a curve. (inherited from Workspace).
Public property MaxTextureSize Gets the maximum texture size allowed on current OpenGL implementation (in pixel). (inherited from Workspace).
Public property MinimumFramerate The minimum acceptable framerate for dynamic movements. (inherited from Design).
Public property Mouse3D 3D mouse settings. (inherited from Workspace).
Internal protected (Protected Friend) property Moving Tells if the viewport is performing a zoom-pan-rotate operation. (inherited from Workspace).
Public property MultiTouch Gets or sets the Multitouch settings. (inherited from Workspace).
Public property MultipleSelection If true, the selection ActionModes work as if the Control key was pressed, selecting multiple entities. (inherited from Workspace).
Public property ObjectManipulator The manipulator used to graphically position the selected entities. (inherited from Design).
Public property OpenBlock Gets the open block. (inherited from Workspace).
Public property OpenglExtensions Gets a space-separated list of supported extensions to OpenGL. (inherited from Workspace).
Public property OrientationMode Gets or sets the coordinate system orientation mode. (inherited from Design).
Public property Parents Gets the stack of the parents of the current BlockReference. (inherited from Workspace).
Public property PickBoxSize Gets or sets the pick box size in pixel units. (inherited from Workspace).
Public property PlanarShadowOpacity Gets or sets the planar shadow's opacity. (inherited from Design).
Public property PressureSymbolColor Gets or sets FEM pressure symbol color.
Public property PrintDocumentName Print document name. It also appears during print preview preparation. (inherited from Workspace).
Public property ProgressBar Gets or sets the progress bar settings. (inherited from Workspace).
Public property PunctualForceSymbolColor Gets or sets FEM pressure symbol color.
Public property RenderContext Graphics rendering context. Available after window handle (HWND) initialization only. (inherited from WorkspaceBase).
Public property Rendered Gets or sets the display settings for Rendered mode, shared by all viewports. (inherited from Design).
Public property Renderer Gets or sets the Renderer mode. (inherited from WorkspaceBase).
Public property RendererName Gets the name of the renderer. This name is typically specific to a particular configuration of a hardware platform. It does not change from release to release. (inherited from Workspace).
Public property RendererVendor Gets the company responsible for this GL implementation. This name does not change from release to release. (inherited from Workspace).
Public property RendererVersion Gets graphics API version. (inherited from Workspace).
Public property RestraintSymbolColor Gets or sets FEM restraint symbol color.
Public property RightToLeft (inherited from WorkspaceBase).
Public property RootBlock Gets the root block. (inherited from Workspace).
Public property Selection Gets or sets the selection settings, shared by all viewports. (inherited from Workspace).
Public property SelectionBoxColors Gets or sets the colors used to draw the selection box and polygon. (inherited from Workspace).
Public property SelectionColor Obsolete. Gets or sets the color of selected entities, shared by all viewports. (inherited from Workspace).
Public property SelectionColorDynamic Obsolete. Gets or sets the color for the dynamic selection, shared by all viewports. (inherited from Workspace).
Public property SelectionFilterMode Gets or sets the pick filter used by the pick action modes. (inherited from Design).
Public property SelectionLineWeightScaleFactor Obsolete. Gets or sets the factor applied to the line weight for the selected wireframe entities or Brep.Edges. (inherited from Workspace).
Public property Shaded Gets or sets the display settings for Shaded mode, shared by all viewports. (inherited from Design).
Public property ShadingLanguageVersion Gets OpenGL Shading Language version. (inherited from Workspace).
Public property ShortcutKeys Gets or sets the keyboard shortcuts. (inherited from Workspace).
Public property ShowCurveDirection If true, curve direction is displayed. (inherited from Workspace).
Public property ShowFps Gets or sets the frame per second rate text visibility status. (inherited from Workspace).
Public property ShowJoint Joint symbols visibility status.
Public property ShowLoad Load symbols visibility status.
Public property ShowNormals Gets or sets the normals visibility status. (inherited from Workspace).
Public property ShowRestraint Restraint symbols visibility status.
Public property Size (inherited from WorkspaceBase).
Public property SketchManager The SketchManager for SketchEntity editing. (inherited from Design).
Public property SplitterMoving

WinForms: When the viewport control is hosted inside a SplitContainer control an annoying repaint issue is present during SplitContainer splitter moving.

WPF: When the viewport control is hosted inside a Grid control with GridSplitter an annoying repaint issue is present during GridSplitter moving.

Setting properly this flag it can be avoided.

(inherited from Design).
Public property SuspendSetColorForSelection Suspends the set of the color by the SetColorDrawForSelectionAndUpdateIdItemsMap. (inherited from Workspace).
Public property TempEntities Temporary Entity collection. This collection contains the entities displayed in the viewport on top of the others as temporary entities. (inherited from Workspace).
Public property TextStyles Gets or sets the text styles collection. (inherited from Workspace).
Public property Turbo Gets or sets the FastZPR settings. When FastZPR is active a simplified representation of the current geometry is drawn during dynamic movements (Zoom/Pan/Rotate). (inherited from Workspace).
Public property Units Obsolete. The active units of measurement. (inherited from Design).
Public property UseFrameBufferObject When true the frame buffer objects are used. Affects the quality of Realistic shadows. For debugging purpose only. (inherited from Workspace).
Public property UseShaders If true, the rendererType.OpenGL renderer uses Phong shading for better lighting, has the DisplayModeSettingsRendered.PlanarReflections with a fading out effect and better performances for the shadowType.Realistic shadows. (inherited from Workspace).
Public property ViewportBorder Gets or sets the border settings. (inherited from Design).
Public property Viewports Gets or sets the list of viewports. (inherited from Design).
Public property ViewportsGap Gets or sets the gap between viewports. (inherited from Design).
Public property WaitCursorMode Gets or sets the wait cursor mode. Controls if and when the wait cursor is displayed. (inherited from Workspace).
Public property Wireframe Gets or sets the display settings for Wireframe mode, shared by all viewports. (inherited from Design).
Public property WriteDepthForTransparents When true, adds an extra pass to write transparent entities in the Z buffer. (inherited from Design).
Public property ZoomFitMode Gets or sets the convexHull type used as optimization during entities zoom fit. (inherited from Design).
Public property windowHandle (inherited from WorkspaceBase).
Top
Methods
 
Name Description
Public method AddMessageFilter() (inherited from WorkspaceBase).
Public method AdjustNearAndFarPlanes() Adjusts camera near and far planes based on design extents and on origin symbol, grid and shadow visibility status. (inherited from Workspace).
Protected method ApplyOpacityMask() Computes the opacity mask that makes the viewports opaque and leaves a transparent space between them. (inherited from Workspace).
Public method BeginInit() (inherited from Workspace).
Public method CancelWork() Stops the asynchronous background work. (inherited from Workspace).
Public method Clear() Clears all the viewport master collections: entities, tempEntities, blocks, layers, materials, text styles, line types and labels. (inherited from Design).
Internal protected (Protected Friend) method ClearCharDefs() (inherited from Workspace).
Public method ClipCursor(Rectangle) (inherited from WorkspaceBase).
Public method CloseOpenBlock(bool) Close the OpenBlock and goes back to the visualization of the previously opened block. (inherited from Workspace).
Public method CompileUserInterfaceElements() Compiles 3D user interface elements like the origin symbol, the bitmap background, the FEM restraint and load symbols, etc. (inherited from Workspace).
Public method CompileUserInterfaceElements(Viewport) Compiles 3D user interface elements like the origin symbol, the bitmap background, the FEM restraint and load symbols, etc. (inherited from Workspace).
Internal protected (Protected Friend) method ComputeNonCurrentEntityColor(Entity, Color, bool, bool) Gets the color used to draw the given non-current entity. (inherited from Workspace).
Public method CopyTo(Workspace, bool) Copies all items inside control master collections (Viewport.Labels, Blocks, Layers, Design.Materials, TextStyles, LineTypes, HatchPatterns)) to the specified Workspace control. (inherited from Workspace).
Public method CopyToClipboardRaster() Copies a raster image of the current viewport scene on the clipboard. (inherited from Workspace).
Public method CopyToClipboardRaster(Size) Copies a raster image of the current viewport scene on the clipboard. (inherited from Workspace).
Public method CopyToClipboardRaster(Size, bool, bool) Copies a raster image of the current viewport scene on the clipboard. (inherited from Workspace).
Public method CopyToClipboardRaster(Size, double, bool, bool) Copies a raster image of the current viewport scene on the clipboard. (inherited from Workspace).
Public method CopyToClipboardRaster(float) Copies a raster image of the current viewport scene on the clipboard. (inherited from Workspace).
Public method CopyToClipboardRaster(float, double) Copies a raster image of the current viewport scene on the clipboard. (inherited from Workspace).
Public method CopyToClipboardVector(bool) Copies a vectorial image of the current scene of the active viewport on the clipboard. (inherited from Workspace).
Protected method CreateAccessibilityInstance() (inherited from Workspace).
Public method CreateBOMTable(EntityList, BlockKeyedCollection, string, string, string, string, bool, flowDirection, int) Creates the Bill Of Materials. (inherited from Design).
Public method CreateBillOfMaterials(EntityList, BlockKeyedCollection, bool, int) Creates the data for the Bill Of Materials. (inherited from Design).
Public method CreateControl() Forces the creation of the control, including the creation of the handle and any child controls. (inherited from WorkspaceBase).
Public method Static DeleteObject(IntPtr) (inherited from Workspace).
Public method Static DisableWpfTabletSupport() The Eyeshot WPF control with Native renderer and MultiTouchSettings.UseWindowsMessages set to true, in order to manage multitouch in an efficient way, uses WM_TOUCH to receive touch messages from a WPF window. For this reason, if you want to add it dynamically in your application, you need to call this method in the main window constructor. (inherited from WorkspaceBase).
Protected method Dispose(bool) Clean up any resources being used. (inherited from Workspace).
Public method DoWork(WorkUnit) Accomplishes the work and call WorkUnit.WorkCompleted method. (inherited from Workspace).
Public method DoubleBuffered(bool) (inherited from WorkspaceBase).
Protected method Draw3D(DrawSceneParams) Draws design, shadow and bounding box. (inherited from Workspace).
Internal protected (Protected Friend) method DrawBackground(DrawSceneParams) Draws the Background of the Workspace control. (inherited from Workspace).
Protected method DrawForSelection(DrawEntitiesParams) (inherited from Workspace).
Protected method DrawForce(RenderContextBase) Gives the chance to overriders to customize force symbol drawing.
Internal protected (Protected Friend) method DrawImage(int, int, Bitmap) Draws an image on the Workspace's client area. (inherited from Workspace).
Protected method DrawMoment(RenderContextBase) Gives the chance to overriders to customize moment symbol drawing.
Internal protected (Protected Friend) method DrawOMWithPreview(DrawSceneParams) (inherited from Workspace).
Protected method DrawOverlay(DrawSceneParams) Draws overlaying UI elements. (inherited from Workspace).
Protected method DrawOverlayBlended(DrawSceneParams, bool) (inherited from Workspace).
Protected method DrawRotationRestraint(RenderContextBase) Gives the chance to overriders to customize rotation restraint symbol drawing.
Protected method DrawScene(Viewport, float, float, RectangleF, bool, bool, bool) Main drawing method. (inherited from Workspace).
Protected method DrawShadow(float) Draws the design shadow (inherited from Workspace).
Internal protected (Protected Friend) method DrawText(int, int, string, Font, Color, Color, ContentAlignment) Draws a text on the Workspace's client area. (inherited from Workspace).
Internal protected (Protected Friend) method DrawText(int, int, string, Font, Color, Color, ContentAlignment, RotateFlipType) Draws a text on the Workspace's client area. (inherited from Workspace).
Internal protected (Protected Friend) method DrawText(int, int, string, Font, Color, ContentAlignment) Draws a text on the Workspace's client area. (inherited from Workspace).
Internal protected (Protected Friend) method DrawTextOutlined(int, int, string, Font, Color, Color, float, ContentAlignment) Draws a text on the Workspace's client area. (inherited from Workspace).
Protected method DrawTexture(TextureBase, int, int, ContentAlignment, bool) Draws a texture. (inherited from Workspace).
Protected method DrawTranslationRestraint(RenderContextBase) Gives the chance to overriders to customize translation restraint symbol drawing.
Protected method DrawVertexIndices(DrawSceneParams) (inherited from Workspace).
Protected method DrawVertices(DrawEntitiesParams) Draws the vertices of the entities. (inherited from Workspace).
Internal protected (Protected Friend) method DrawViewport(DrawSceneParams) Draws the viewport. (inherited from Workspace).
Protected method DrawViewportBackground(DrawSceneParams) Draws the viewport background and reflections. (inherited from Workspace).
Public method EditSketch(SketchEntity) Sets the sketch entity for editing. (inherited from Design).
Public method EnableToolTip(bool) (inherited from WorkspaceBase).
Public method EndInit() (inherited from Workspace).
Protected method EndZoomPanRotate(Viewport) Ends a sequence of Zoom-Pan-Rotate movements. (inherited from Workspace).
Public method Equals(Object) (inherited from Object).
Public method Static EvaluateBoundingBox(ICollection<Entity>, out Point3D, out Point3D) Evaluates the bounding box of a collection of entities without taking care of entity visibility. (inherited from Workspace).
Public method ExtrudeText(Text, double, Vector3D, bool, natureType) Extrudes a text creating an array of new meshes. (inherited from Design).
Public method ExtrudeText(Text, double, double, bool, natureType) Extrudes a text creating an array of new meshes. (inherited from Design).
Public method ExtrudeText(Text, double, Vector3D, bool) Extrudes a text creating an array of new solids. (inherited from Design).
Public method ExtrudeText(Text, double, double, bool) Extrudes a text creating an array of new solids. (inherited from Design).
Protected method Finalize (inherited from Object).
Public method FindClosestTriangle(IFace, Point) Finds the closest triangle to the viewer of the specified entity. (inherited from Design).
Public method FindClosestTriangle(SelectedItem, Point) Finds the closest triangle to the viewer of the specified item (which must be related to an IFace entity and may include the parents stack for nested entities). (inherited from Design).
Public method FindClosestTriangle(IFace, Point, out Point3D, out int) Finds the closest triangle to the viewer of the specified entity. (inherited from Design).
Public method FindClosestTriangle(SelectedItem, Point, out Point3D, out int) Finds the closest triangle to the viewer of the specified item (which must be related to an IFace entity and may include the parents stack for nested entities). (inherited from Design).
Public method FindClosestVertex(Entity, Point, double) Looks for the vertex of the specified entity whose 2D screen projection is closer to the mouse cursor. (inherited from Workspace).
Public method FindClosestVertex(Point, double, Type, out HitVertex) Looks for the model vertex whose 2D screen projection is closer to the mouse cursor skipping entities different from entType. (inherited from Workspace).
Public method FindClosestVertex(Point, double, Type, out Point3D) Looks for the model vertex whose 2D screen projection is closer to the mouse cursor skipping entities different from entType. (inherited from Workspace).
Public method FindClosestVertex(Point, double, Type, out int) Looks for the model vertex whose 2D screen projection is closer to the mouse cursor skipping entities different from entType. (inherited from Workspace).
Public method FindClosestVertex(Point, double, out HitVertex) Looks for the model vertex whose 2D screen projection is closer to the mouse cursor. (inherited from Workspace).
Public method FindClosestVertex(Point, double, out Point3D) Looks for the model vertex whose 2D screen projection is closer to the mouse cursor. (inherited from Workspace).
Public method FindClosestVertex(Point, double, out int) Looks for the model vertex whose 2D screen projection is closer to the mouse cursor. (inherited from Workspace).
Public method FindClosestVertices(Entity, Point, double) Looks for the model vertices of the specified entity whose 2D screen projections are closer to the mouse cursor. (inherited from Workspace).
Public method FindClosestVertices(Point, double) Looks for the model vertices whose 2D screen projections are closer to the mouse than the maxDistance. (inherited from Workspace).
Public method FindClosestVertices(Point, double, Type) Looks for the model vertices whose 2D screen projections are closer to the mouse cursor skipping entities different from entType. (inherited from Workspace).
Protected method FireProgressChanged(ProgressChangedEventArgs) Raises the ProgressChanged event. (inherited from Workspace).
Protected method FireWorkCancelled(WorkUnitEventArgs) Raises the WorkCancelled event. (inherited from Workspace).
Protected method FireWorkCompleted(WorkCompletedEventArgs) Raises the WorkCompleted event. (inherited from Workspace).
Protected method FireWorkFailed(WorkFailedEventArgs) Raises the WorkCancelled event. (inherited from Workspace).
Protected method FreeCursors() (inherited from Workspace).
Public method GetAllCrossingEntities(Rectangle, bool) Returns the list of all the visible and selectable entities geometrically crossing the selection box, regardless of their actual visibility on screen. (inherited from Workspace).
Public method GetAllEnclosedEntities(Rectangle) Selects all entities completely enclosed in the specified selection rectangle. (inherited from Workspace).
Public method GetAllEntitiesUnderMouseCursor(Point, bool) Returns all the visible (on screen) top level and selectable entities (which may include the parents stack for nested entities) under the mouse cursor in the active viewport. (inherited from Workspace).
Public method GetAllItemsUnderMouseCursor(Point, bool) Returns all the visible (on screen) and selectable items (which may include the parents stack for nested entities) under the mouse cursor in the active viewport. (inherited from Workspace).
Public method GetAllLabelsUnderMouseCursor(Point, bool) Returns all the visible labels under the mouse cursor in the active viewport. (inherited from Workspace).
Public method GetAllVisibleEntities(Rectangle, bool) Returns the list of all visible entities in the specified selection box in the active viewport. (inherited from Workspace).
Public method GetAllVisibleItems(Rectangle, bool) Returns the list of all visible items (which may include the parents stack for nested entities) in the specified selection box in the active viewport. (inherited from Workspace).
Public method GetAllVisibleLabels(Rectangle, bool) Returns the list of all visible labels in the specified selection box. (inherited from Workspace).
Public method Static GetAssembly(out string, out string, out string, out Version, out string) Gets the currently loaded assembly. (inherited from Workspace).
Protected method GetCrossingEntities(Rectangle, bool, bool) Returns the list of all the visible and selectable entities crossing the specified selection box. (inherited from Workspace).
Public method GetCrossingEntities(Rectangle, IList<Entity>, bool, bool, Transformation) Returns the list of all the visible and selectable entities crossing the specified selection box. (inherited from Workspace).
Public method GetCursor(cursorType) Gets the stream of the cursor. (inherited from WorkspaceBase).
Public method GetDefaultCursor() Gets the default cursor for the viewport control. (inherited from Workspace).
Protected method GetDefaultViewport() (inherited from Workspace).
Public method Static GetEntityLineType(Entity, LineTypeKeyedCollection, string, LayerKeyedCollection) Returns the entity's line type. (inherited from Workspace).
Protected method Static GetEntityLineWeight(Entity, Entity, LayerKeyedCollection) Gets the entity line weight. (inherited from Workspace).
Public method GetEntityUnderMouseCursor(Point, bool) Returns the index of the first top level entity under the mouse cursor. (inherited from Workspace).
Public method GetForeColor() (inherited from WorkspaceBase).
Public method GetHashCode (inherited from Object).
Public method Static GetInstallFolder() Gets the Eyeshot installation folder. (inherited from Workspace).
Public method GetItemUnderMouseCursor(Point, bool) Gets the first item under the mouse cursor (which may include the parents stack for nested entities). (inherited from Workspace).
Public method GetLabelUnderMouseCursor(Point, bool) Returns the index of the first label under the mouse cursor. (inherited from Workspace).
Public method GetMouseClicks(MouseButtonEventArgs) Gets the number of mouse clicks from the event args. (inherited from WorkspaceBase).
Public method GetMousePosition(DragEventArgs) Gets the mouse position from the DragEventArgs. (inherited from WorkspaceBase).
Public method GetMousePosition(MouseEventArgs) Gets the mouse position from the event args. (inherited from WorkspaceBase).
Public method GetMousePosition(TouchEventArgs) Gets the mouse position from the TouchEventArgs. (inherited from WorkspaceBase).
Public method GetMousePosition(TouchEventArgs) Gets the mouse position from the TouchEventArgs. (inherited from WorkspaceBase).
Protected method GetParentHandle() Gets the handle of the parent control. (inherited from Workspace).
Public method GetPixel(int, int) Gets the color of the specified pixel in this viewport (inherited from Workspace).
Public method GetPlanarReflectionsPlane() Gets the plane used to draw the planar reflections. (inherited from Design).
Public method Static GetSamplesFolder() Gets the Eyeshot samples path. (inherited from Workspace).
Public method GetScalingLevel() Gets the current display's scale factor. (inherited from WorkspaceBase).
Internal protected (Protected Friend) method GetScalingLevelRatio() Gets scaling level ratio among displays with different dpi scale factors. (inherited from WorkspaceBase).
Public method GetStackTransformation(Stack<BlockReference>) Gets the cumulative transformation of a blockreference stack. (inherited from Workspace).
Public method GetTemporarySelectionFaceData(Stack<BlockReference>, Entity, List<SelectionInfoSubItems>, selectionStatusType) Gives the chance to overriders to get temporary face selection data and optionally to skip temporary face selection drawing. (inherited from Workspace).
Protected method GetTextImage(string, Font, Color, Color, ContentAlignment, RotateFlipType, bool) Gets the text bitmap. (inherited from Workspace).
Internal protected (Protected Friend) method Static GetTextOutlinedImage(string, Font, Color, Color, RotateFlipType, float) Gets the outlined text image. (inherited from Workspace).
Public method GetType (inherited from Object).
Internal protected (Protected Friend) method GetViewportUnderMouse(Point) Returns the viewport under the given mouse position. (inherited from Workspace).
Internal protected (Protected Friend) method GetVisibleEntitiesFromBackBuffer(Viewport, byte[], int, int, Rectangle, bool) Returns the indices of the entities read from the back buffer in the selectionBox. (inherited from Workspace).
Public method GetVisualRefinementDeviation() Gets the visual refinement deviation value used by the EntityList.Regen method. It's estimated automatically from the root block extents. (inherited from Workspace).
Public method HideCursor(bool) (inherited from WorkspaceBase).
Public method InitializeViewports() Ensures that at least one Viewport is present in the Design.Viewports collection. (inherited from Workspace).
Public method Invalidate() (inherited from Workspace).
Internal protected (Protected Friend) method IsCloserVertex(Point3D, double, double) Tells if the projected point, whose square distance from the mouse cursor is squareDistance, is closer than the currentMinimumSquareDistance. (inherited from Workspace).
Public method IsDesignMode() (inherited from WorkspaceBase).
Protected method IsDragAction() Tells if the current ActionMode requires dragging. (inherited from Workspace).
Public method IsErrorInPaint() (inherited from Workspace).
Protected method IsInputKey(Keys) (inherited from Workspace).
Protected method IsSelectAction() Tells if the current ActionMode is one of the selection ones. (inherited from Workspace).
Protected method IsSelectByBoxAction() Tells if the current ActionMode is one of the ByBox ones. (inherited from Workspace).
Protected method IsSelectByPickAction() Tells if the current ActionMode is one of the ByPick ones. (inherited from Workspace).
Protected method IsSelectByPolygonAction() Tells if the current ActionMode is one of the ByPolygon ones. (inherited from Workspace).
Public method IsolateBlocks(IReadOnlyCollection<Block>) Isolate a collection of blocks by showing the others in a transparent state. Pass null to unset the isolated blocks. (inherited from Workspace).
Public method IsolateInstances(IReadOnlyList<Tuple<Stack<BlockReference>Entity>>) Isolate a collection of entities by showing the others in a transparent state. Pass null to unset the isolated entities. (inherited from Workspace).
Public method IsolateSelected(IReadOnlyList<SelectedItemBase>) Isolate a collection of entities by showing the others in a transparent state. Pass null to unset the isolated entities. (inherited from Workspace).
Public method LoadPickCursor() Gets the Pick Cursor stream. (inherited from Workspace).
Public method LoadScene(Stream) Obsolete.

Restores the current scene from disk, including entities, textures, blocks and labels.

(inherited from Workspace).
Public method LoadScene(string) Obsolete.

Restores the current scene from disk, including entities, textures, blocks and labels.

(inherited from Workspace).
Public method Static MakeLoop(IList<ICurve>, int, double, bool) Obsolete. Analyzes a number of entities and returns a closed loop of points starting from the entity at startIndex. You can provide an array of 100 entities an get a 3D loop of a square made up of 4 lines. Entities connection is checked using chordalError parameter, if the end points of two entities are farther of this value they will not be connected. (inherited from Workspace).
Public method Static MakeLoopByLength(IList<ICurve>, int, double) Obsolete. Returns a closed loop of points at the specified distance.
Public method ManageToolTip(string) (inherited from WorkspaceBase).
Protected method MemberwiseClone (inherited from Object).
Public method Mesh(Block, BlockKeyedCollection, MaterialKeyedCollection, double, bool) Meshes the specified list of blocks (recursively).
Public method Mesh(Brep, double, bool, double, double, bool) Meshes the specified Brep object part of Workspace.CurrentBlock.
Public method Mesh(Brep, double[], bool, double, double, bool) Meshes the specified Brep object part of Workspace.CurrentBlock.
Public method Mesh(double, bool) Meshes all entities (recursively).
Public method MoveToPlane(ICollection<Entity>, Plane) Moves a list of entities from plane XY to the specified plane. (inherited from Design).
Public method MoveToPlane(ICollection<Entity>, Point3D, Point3D, Point3D) Moves a list of entities from plane XY to the specified plane. (inherited from Design).
Public method MoveToPlane(IList<Point3D>, Plane) Moves a list of points from plane XY to the specified plane. (inherited from Design).
Public method NewSketch(int, Brep) Creates a new sketch on the Brep face. (inherited from Design).
Public method NewSketch(Plane) Sets the sketch entity for editing. (inherited from Design).
Public method NextView() Restores the next view previously saved on the Viewport.SavedViews stack. (inherited from Workspace).
Protected method OnAnimationTimerTick(object) Occurs every timer tick. Call base class method when overriding. (inherited from Workspace).
Protected method OnDoubleClick(EventArgs) (inherited from Workspace).
Protected method OnDpiChanged(DpiScale, DpiScale) (inherited from WorkspaceBase).
Protected method OnGotFocus(EventArgs) (inherited from Workspace).
Protected method OnHandleCreated(EventArgs) (inherited from Workspace).
Protected method OnHandleDestroyed(EventArgs) (inherited from Workspace).
Protected method OnKeyDown(KeyEventArgs) (inherited from Workspace).
Protected method OnKeyUp(KeyEventArgs) (inherited from Workspace).
Protected method OnLoaded(object, EventArgs) (inherited from WorkspaceBase).
Protected method OnLostFocus(EventArgs) Synchronize hasFocus parameter, reset action, redraw the control. (inherited from Workspace).
Protected method OnLostKeyboardFocus(KeyboardFocusChangedEventArgs) (inherited from WorkspaceBase).
Protected method OnManipulationDelta(ManipulationDeltaEventArgs) (inherited from Workspace).
Protected method OnManipulationStarting(ManipulationStartingEventArgs) (inherited from Workspace).
Internal protected (Protected Friend) method OnMouse3DButtonDown(object, ButtonEventArgs) Occurs every Mouse3DButtonDown event. (inherited from Workspace).
Internal protected (Protected Friend) method OnMouse3DButtonUp(object, ButtonEventArgs) Occurs every Mouse3DButtonUp event. (inherited from Workspace).
Internal protected (Protected Friend) method OnMouse3DMove(object, MoveEventArgs) Occurs every Mouse3DMove event. (inherited from Workspace).
Protected method OnMouseClick(MouseEventArgs) (inherited from Workspace).
Protected method OnMouseDown(MouseEventArgs) (inherited from Workspace).
Protected method OnMouseEnter(EventArgs) (inherited from Workspace).
Protected method OnMouseLeave(EventArgs) (inherited from Workspace).
Protected method OnMouseMove(MouseEventArgs) (inherited from Workspace).
Protected method OnMouseUp(MouseEventArgs) (inherited from Workspace).
Protected method OnMouseWheel(MouseEventArgs) (inherited from Workspace).
Internal protected (Protected Friend) method OnMultiTouchClick(object, MouseEventArgs) Occurs every MultiTouchClick event. (inherited from Workspace).
Internal protected (Protected Friend) method OnMultiTouchClick(object, MouseButtonEventArgs) (inherited from Workspace).
Internal protected (Protected Friend) method OnMultiTouchDoubleClick(object, MouseEventArgs) Occurs every MultiTouchDoubleClick event. (inherited from Workspace).
Internal protected (Protected Friend) method OnMultiTouchDoubleClick(object, MouseButtonEventArgs) (inherited from Workspace).
Internal protected (Protected Friend) method OnMultiTouchDown(object, TouchEventArgs) Occurs every MultiTouchDown event. (inherited from Workspace).
Internal protected (Protected Friend) method OnMultiTouchMove(object, TouchEventArgs) Occurs every MultiTouchMove event. (inherited from Workspace).
Internal protected (Protected Friend) method OnMultiTouchUp(object, TouchEventArgs) Occurs every MultiTouchUp event. (inherited from Workspace).
Protected method OnPaint(PaintEventArgs) (inherited from Workspace).
Protected method OnPaint() (inherited from Workspace).
Protected method OnPaintBackground(PaintEventArgs) (inherited from WorkspaceBase).
Protected method OnPreviewLostKeyboardFocus(KeyboardFocusChangedEventArgs) (inherited from WorkspaceBase).
Protected method OnPreviewMouseDown(MouseButtonEventArgs) (inherited from WorkspaceBase).
Protected method OnRenderSizeChanged(SizeChangedInfo) This method is invoked after layout update, and before rendering, if the element's RenderSize has changed as a result of layout update. (inherited from WorkspaceBase).
Protected method OnResize(EventArgs) (inherited from Workspace).
Protected method OnStylusSystemGesture(StylusSystemGestureEventArgs) (inherited from Workspace).
Protected method OnTouchDown(TouchEventArgs) (inherited from Workspace).
Protected method OnTouchMove(TouchEventArgs) (inherited from Workspace).
Protected method OnTouchUp(TouchEventArgs) (inherited from Workspace).
Public method OpenCurrentBlock(bool) Open CurrentBlock. The OriginSymbol and Grid are in the Block reference system. (inherited from Workspace).
Public method OpenFile(Stream, Drawing, FileSerializer) Restores the scene synchronously from disk, including entities and all the master collections (layers, blocks, etc.) (inherited from Design).
Public method OpenFile(string, Drawing, FileSerializer) Restores the scene synchronously from disk, including entities and all the master collections (layers, blocks, etc.) (inherited from Design).
Public method OrientCamera(Point3D, Point3D) Orients the Camera between the two specified points. (inherited from Design).
Public method PageSetup(bool, bool, Nullable<Int32>, PaperSize, Nullable<Boolean>) Defines the Page Setup. (inherited from Workspace).
Internal protected (Protected Friend) method PaintBackBuffer() Paints the viewport surface without redrawing the whole scene. (inherited from Workspace).
Public method PaintBackground(PaintEventArgs) (inherited from WorkspaceBase).
Protected method PaintDesignError(Graphics) (inherited from Workspace).
Public method PanCamera(Point, Point) Pans the view from one screen point to the other. (inherited from Workspace).
Public method PanCamera(Point, Point, bool) Pans the view from one screen point to the other. (inherited from Workspace).
Public method PanDown(int) Pans the view downwards. (inherited from Workspace).
Public method PanLeft(int) Pans the view to the left. (inherited from Workspace).
Public method PanRight(int) Pans the view to the right. (inherited from Workspace).
Public method PanUp(int) Pans the view upwards. (inherited from Workspace).
Public method ParentBackColor() (inherited from WorkspaceBase).
Public method ParentExists() (inherited from WorkspaceBase).
Public method PointToScreenControl(Point) (inherited from WorkspaceBase).
Protected method PostRemoveJitteringForFastZPR(RenderContextBase) (inherited from Workspace).
Public method PreFilterMessage(int, IntPtr) (inherited from Workspace).
Protected method PreRemoveJitteringForFastZPR(DrawSceneParams, bool) (inherited from Workspace).
Protected method PrepareToolTip() (inherited from WorkspaceBase).
Public method PreviousView() Restores the previous view on the Viewport.SavedViews stack. (inherited from Workspace).
Public method Print(bool) (inherited from Design).
Public method PrintPreview(Size, bool) (inherited from Design).
Public method ProcessSelection(Rectangle, bool, bool, out int[], List<Int32>, bool) Obsolete.

Selects each entity crossing the specified selection rectangle.

This method is deprecated. Use the overload with the SelectionChangedEventArgs parameter.

(inherited from Workspace).
Public method ProcessSelection(Rectangle, bool, bool, SelectionChangedEventArgs, bool) Selects each entity crossing the specified selection rectangle. (inherited from Workspace).
Protected method ProcessSelectionByPolygon(List<Point2D>, bool, out int[], List<Int32>) Obsolete.

Selects each entity crossing the specified selection polygon.

This method is deprecated. Use the overload with the SelectionChangedEventArgs parameter.

(inherited from Workspace).
Public method ProcessSelectionByPolygon(List<Point2D>, bool, SelectionChangedEventArgs) Selects each entity crossing the specified selection polygon. (inherited from Workspace).
Protected method ProcessSelectionByPolygonEnclosed(List<Point2D>, bool, out int[], List<Int32>) Obsolete.

Selects each entity completely enclosed in the specified selection rectangle.

This method is deprecated. Use the overload with the SelectionChangedEventArgs parameter.

(inherited from Workspace).
Public method ProcessSelectionByPolygonEnclosed(List<Point2D>, bool, SelectionChangedEventArgs) Selects each entity completely enclosed in the specified selection rectangle. (inherited from Workspace).
Protected method ProcessSelectionByPolygonVisibleOnly(List<Point2D>, bool, out int[], List<Int32>) Obsolete.

Selects each visible entity in the specified selection polygon.

This method is deprecated. Use the overload with the SelectionChangedEventArgs parameter.

(inherited from Workspace).
Public method ProcessSelectionByPolygonVisibleOnly(List<Point2D>, bool, SelectionChangedEventArgs) Selects each visible entity in the specified selection polygon. (inherited from Workspace).
Public method ProcessSelectionEnclosed(Rectangle, bool, bool, out int[], List<Int32>) Obsolete.

Selects each entity completely enclosed in the specified selection rectangle.

This method is deprecated. Use the overload with the SelectionChangedEventArgs parameter.

(inherited from Workspace).
Public method ProcessSelectionEnclosed(Rectangle, bool, bool, SelectionChangedEventArgs) Selects each entity completely enclosed in the specified selection rectangle. (inherited from Workspace).
Public method ProcessSelectionVisibleOnly(Rectangle, bool, bool, SelectionChangedEventArgs, bool, bool) Selects only visible entities in the specified rectangle. (inherited from Workspace).
Public method ProcessSelectionVisibleOnlyLabels(Rectangle, bool, bool, SelectionChangedEventArgs, bool) Selects only visible labels in the specified rectangle. (inherited from Workspace).
Public method ProcessSemiTransparent() Performs semi-transparent entities pre-processing. (inherited from Workspace).
Protected method PropagateAttributesAndProcessBlockReferenceForSelection(DrawEntitiesParams, Entity, GfxAttributesWire, drawForSelectionCallback) (inherited from Workspace).
Public method Purge() Removes unused items from the Workspace master collections (Layers, Blocks, Materials, etc.). (inherited from Workspace).
Public method Refresh() Forces the control to invalidate its client area and immediately redraw itself and any child controls. (inherited from WorkspaceBase).
Public method RemoveJittering(string) Creates a block with the selected Entities, computes the center of their bounding box, translates them all of the negative of that quantity and returns a BlockReference to that block. (inherited from Workspace).
Public method RemoveJittering(BlockReference) Gets the blockreference entities, computes the center of their bounding box, translates them all of the negative of that quantity and translates the blockreference back to the original position. (inherited from Workspace).
Public method RemoveMessageFilter() (inherited from WorkspaceBase).
Public method RenderToBitmap(Rectangle, double, bool, bool) Returns an image of the current Workspace scene of the active viewport. The image can be scaled even to a poster size one. (inherited from Workspace).
Public method RenderToBitmap(Rectangle, double, double, bool, bool) Returns an image of the current Workspace scene of the active viewport. The image can be scaled even to a poster size one. (inherited from Workspace).
Public method RenderToBitmap(RectangleF, Size, bool, bool) Returns an image of the current Workspace scene. The image can be scaled even to a poster size one. (inherited from Workspace).
Public method RenderToBitmap(RectangleF, Size, double, bool, bool) Returns an image of the current Workspace scene. The image can be scaled even to a poster size one. (inherited from Workspace).
Public method RenderToBitmap(Size) Returns an image of the current Workspace scene. The image can be scaled even to a poster size one. (inherited from Workspace).
Public method RenderToBitmap(Size, bool, bool) Returns an image of the current Workspace scene. The image can be scaled even to a poster size one. (inherited from Workspace).
Public method RenderToBitmap(Size, double, bool, bool) Returns an image of the current Workspace scene. The image can be scaled even to a poster size one. (inherited from Workspace).
Public method RenderToBitmap(double) Returns an image of the current viewport scene. The image can be scaled even to a poster size one. (inherited from Workspace).
Public method RenderToBitmap(double, bool, bool) Returns an image of the current Workspace scene of the active viewport. The image can be scaled even to a poster size one. (inherited from Workspace).
Public method RenderToBitmap(double, double, bool, bool) Returns an image of the current Workspace scene of the active viewport. The image can be scaled even to a poster size one. (inherited from Workspace).
Public method ResetOpenBlocks(bool) Close all opened blocks up to the root one. (inherited from Workspace).
Public method ResizeBegin() (inherited from Workspace).
Protected method ResizeViewports() Resizes the Viewports. (inherited from Workspace).
Internal protected (Protected Friend) method RestoreCursor(CursorContainer) // Occurs when the cursor changes. // (inherited from Workspace).
Public method RestoreView(Camera) Restores the previously saved view in the active viewport. (inherited from Workspace).
Public method RestoreViewportsForDesignTime(DesignTimeFuncHandler) (inherited from Workspace).
Public method RotateCamera(Point, Point) Rotates the view simulating the movement between two mouse position. (inherited from Design).
Public method RotateCamera(Vector3D, double, bool) Rotates the view of the specified amount. (inherited from Design).
Public method RotateCamera(Vector3D, double, bool, bool) Rotates the view of the specified amount. (inherited from Design).
Public method RotateCamera(Vector3D, Vector3D) Rotates the view of the specified amount. (inherited from Design).
Public method RotateCamera(Vector3D, Vector3D, bool) Rotates the view of the specified amount. (inherited from Design).
Public method RotateCamera(int, int) Rotates the view of the specified amount. (inherited from Design).
Public method RotateCamera(int, int, bool) Rotates the view of the specified amount. (inherited from Design).
Public method RotateDown(double) Rotates the view downwards. (inherited from Design).
Public method RotateLeft(double) Rotates the view to the left. (inherited from Design).
Public method RotateRight(double) Rotates the view to the right. (inherited from Design).
Public method RotateUp(double) Rotates the view upwards. (inherited from Design).
Public method SaveFile(Stream, Drawing, contentType, FileSerializer) Saves the current scene synchronously on disk, including entities and all the master collections (layers, blocks, etc.) (inherited from Design).
Public method SaveFile(string, Drawing, contentType, FileSerializer) Saves the current scene synchronously on disk, including entities and all the master collections (layers, blocks, etc.) (inherited from Design).
Public method SaveScene(Stream) Obsolete. Saves the current scene on disk, including entities, textures, blocks and layouts. (inherited from Workspace).
Public method SaveScene(string) Obsolete. Saves the current scene on disk, including entities, textures, blocks and layouts. (inherited from Workspace).
Public method SaveView() Saves the current view on the Viewport.SavedViews stack. (inherited from Workspace).
Public method SaveView(out Camera) Stores the current view in the active viewport. (inherited from Workspace).
Public method ScaleForDPI() Scales the element for high DPI settings. (inherited from Workspace).
Public method ScreenToPlane(IList<Point>, Plane) Maps screen coordinates to world coordinates in the active viewport. (inherited from Workspace).
Public method ScreenToPlane(IList<Point>, PlaneEquation) Maps screen coordinates to world coordinates in the active viewport. (inherited from Workspace).
Public method ScreenToPlane(Point, Plane, out Point3D) Maps screen coordinates to world coordinates in the active viewport. (inherited from Workspace).
Public method ScreenToPlane(Point, PlaneEquation, out Point3D) Maps screen coordinates to world coordinates in the active viewport. (inherited from Workspace).
Public method ScreenToWorld(Point) Maps screen coordinates to world coordinates. (inherited from Workspace).
Public method ScreenToWorld(IList<Point>) Maps screen coordinates to world coordinates. (inherited from Workspace).
Public method Static SelectObject(IntPtr, IntPtr) (inherited from Workspace).
Public method SetColorDrawForSelection(int) Sets a coded color depending on the entity id. (inherited from Workspace).
Public method SetColorDrawForSelectionAndUpdateIdItemsMap<T>(GfxDrawForSelectionParams, ISelectableItem, int, int) Sets a coded color depending on the entity id. (inherited from Workspace).
Public method Static SetColorRendered(RenderContextBase, entityNatureType, Material, bool, RenderParams) Rendered mat changer. (inherited from Design).
Public method Static SetColorShaded(RenderContextBase, entityNatureType, Color, bool, BackfaceSettings) Shaded color changer. (inherited from Design).
Public method SetCurrent(BlockReference, bool) Sets a BlockReference as current. (inherited from Workspace).
Public method SetCurrentStack(Stack<BlockReference>, bool) Sets a sequence of BlockReferences as current. (inherited from Workspace).
Public method SetCursor(Cursor) Sets the cursor. (inherited from Workspace).
Public method SetDefaultCursor(Cursor) Sets the default cursor for the viewport control. (inherited from Workspace).
Public method SetFocus(KeyEventArgs) Sets the focus to the control. (inherited from Workspace).
Public method SetParentAsCurrent(bool) Sets the parent of the current BlockReference (if it exists) as current. (inherited from Workspace).
Public method SetParentHandle(IntPtr) Sets the handle of the parent control. (inherited from Workspace).
Public method SetPrinterSettings(PrinterSettings, bool) Set the printer settings. (inherited from Workspace).
Public method SetSelectionAsCurrent(bool) Sets the selected BlockReference as current (if there is one). (inherited from Workspace).
Public method SetSelectionScope(Stack<BlockReference>) Sets the parents stack that represents the starting point for the selection. (inherited from Design).
Public method SetView(Quaternion, Point3D, double, double) Sets the specified view in the active viewport by doing an animation. (inherited from Workspace).
Public method SetView(Quaternion, Point3D, double, double, bool) Sets the specified view in the active viewport. (inherited from Workspace).
Public method SetView(Vector3D, Vector3D, bool, bool, int, bool) Sets the view direction of the camera to the specified direction. (inherited from Workspace).
Public method SetView(Vector3D, Vector3D, bool, int, bool) Sets the view direction of the camera to the specified direction. (inherited from Workspace).
Public method SetView(Vector3D, bool, bool, int, bool) Sets the view direction of the camera to the specified direction. (inherited from Workspace).
Public method SetView(Vector3D, bool, int, bool) Sets the view direction of the camera to the specified direction. (inherited from Workspace).
Public method SetView(viewType) Sets the specified view in the active viewport. (inherited from Workspace).
Public method SetView(viewType, bool, bool) Sets the specified view in the active viewport. (inherited from Workspace).
Public method SetView(viewType, bool, bool, int, bool) Sets the specified view in the active viewport. (inherited from Workspace).
Public method SetViewportsForDesignTime(DesignTimeFuncHandler) (inherited from Workspace).
Internal protected (Protected Friend) method SetWaitCursor() (inherited from Workspace).
Protected method SimplifyOnFastZPR(DrawSceneParams) (inherited from Workspace).
Protected method SortEntitiesForTransparency(Viewport, IList<Entity>) Sorts the transparent entities from the farthest to the nearest to the camera for better rendering. Don't use if Design.MinimumFramerate is enabled. (inherited from Workspace).
Public method StartAnimation()

Starts the animation timer. After calling this method the Animate method of all the entities is called periodically to allow the computation of the new entity position.

To animate group of entities the approach is the following:

  1. Create groups of moving objects (using Block class and adding entities to the Block.Entities collection)
  2. Add blocks created at point 1) to the Workspace.Blocks collection
  3. Subclass the BlockReference class for each moving group of objects
  4. Override the BlockReference.Animate() method of the class at point 3) and add the code to compute the data for entities transformation at that specific time frame
  5. Override the BlockReference.MoveTo() method of the class at point 3) and add the code to move the objects on the GPU
  6. Override the Entity.IsInFrustum() method of the class at point 3) and return true without calling the base to avoid undesired clipping. It might be necessary to override also the bounding box scene extents
  7. Add the block references created at point 3) to the Workspace.Entities collection
  8. Call StartAnimation() providing the time interval between each frame
  9. Call StopAnimation() to stop the animation
(inherited from Design).
Public method StartAnimation(int)

Starts the animation timer. After calling this method the Animate method of all the entities is called periodically to allow the computation of the new entity position.

To animate group of entities the approach is the following:

  1. Create groups of moving objects (using Block class and adding entities to the Block.Entities collection)
  2. Add blocks created at point 1) to the Workspace.Blocks collection
  3. Subclass the BlockReference class for each moving group of objects
  4. Override the BlockReference.Animate() method of the class at point 3) and add the code to compute the data for entities transformation at that specific time frame
  5. Override the BlockReference.MoveTo() method of the class at point 3) and add the code to move the objects on the GPU
  6. Override the BlockReference.IsInFrustum() method of the class at point 3) and return true without calling the base to avoid undesired clipping. It might be necessary to override also the bounding box scene extents
  7. Add the block references created at point 3) to the Workspace.Entities collection
  8. Call StartAnimation() providing the time interval between each frame
  9. Call StopAnimation() to stop the animation
(inherited from Design).
Public method StartAnimation(int, int)

Starts the animation timer. After calling this method the Animate method of all the entities is called periodically to allow the computation of the new entity position.

To animate group of entities the approach is the following:

  1. Create groups of moving objects (using Block class and adding entities to the Block.Entities collection)
  2. Add blocks created at point 1) to the Workspace.Blocks collection
  3. Subclass the BlockReference class for each moving group of objects
  4. Override the BlockReference.Animate() method of the class at point 3) and add the code to compute the data for entities transformation at that specific time frame
  5. Override the BlockReference.MoveTo() method of the class at point 3) and add the code to move the objects on the GPU
  6. Override the Entity.IsInFrustum() method of the class at point 3) and return true without calling the base to avoid undesired clipping. It might be necessary to override also the bounding box scene extents
  7. Add the block references created at point 3) to the Workspace.Entities collection
  8. Call StartAnimation() providing the time interval between each frame
  9. Call StopAnimation() to stop the animation
(inherited from Design).
Public method StartWork(WorkUnit) Starts the work asynchronously. (inherited from Workspace).
Internal protected (Protected Friend) method StartZoomPanRotate(MouseEventArgs, Viewport) Starts a sequence of Zoom-Pan-Rotate movements if the proper keys/mouse buttons are pressed. (inherited from Workspace).
Public method StopAnimation() Stops the animation timer. Call base class method when overriding. (inherited from Design).
Internal protected (Protected Friend) method SwapBuffers() Swaps the front and back buffers. (inherited from Workspace).
Public method ToString (inherited from Object).
Public method UpdateBoundingBox() Computes the scene bounding box, rebuilds simplified representation and updates some important variables. If the bounding box, grid or shadow are visible, it updates them too. (inherited from Workspace).
Public method UpdateViewportsSizeAndLocation() Updates the Viewports dimensions and locations depending on the LayoutMode property. (inherited from Design).
Public method UpdateVisibleSelection() This method needs to be called before using one of the visible selection action modes or one of the methods that get the entities (or labels) under the mouse cursor if the Entity.Visible or the Entity.Selectable (or Label.Visible or Label.Selectable in case of labels selection) changed and the camera was not moved. (inherited from Workspace).
Public method UpdateWorkspace() Updates the workspace control in both desing-time and run-time mode. If necessary adjust near and far planes to accomodate origin symbols of various sizes. (inherited from Workspace).
Public method WndProcMouse3D(IntPtr, int, IntPtr, IntPtr, ref bool) (inherited from Workspace).
Public method WorldToScreen(Point3D) Maps world coordinates to screen coordinates. (inherited from Workspace).
Public method WorldToScreen(double, double, double) Maps world coordinates to screen coordinates. (inherited from Workspace).
Public method WorldToScreen(IList<Point3D>) Maps world coordinates to screen coordinates. (inherited from Workspace).
Public method WriteToFileRaster(float, double, string, ImageFormat, bool, bool) Saves a raster image of the current viewport scene on disk. (inherited from Workspace).
Public method WriteToFileRaster(float, string, ImageFormat) Saves a raster image of the current viewport scene on disk. (inherited from Workspace).
Public method WriteToFileRaster(float, string, ImageFormat, bool, bool) Saves a raster image of the current viewport scene on disk. (inherited from Workspace).
Public method WriteToFileVector(bool, string) Saves a vectorial image of the current scene of the active viewport on disk in EMF format. (inherited from Workspace).
Public method ZoomCamera(Point, int) Zooms the view of the specified amount. (inherited from Workspace).
Public method ZoomCamera(Point, int, bool) Zooms the view of the specified amount. (inherited from Workspace).
Public method ZoomCamera(int) Zooms the view of the specified amount. (inherited from Workspace).
Public method ZoomCamera(int, bool) Zooms the view of the specified amount. (inherited from Workspace).
Public method ZoomCamera(int, double) Zooms the view of the specified amount. (inherited from Workspace).
Public method ZoomCamera(int, double, bool) Zooms the view of the specified amount. (inherited from Workspace).
Public method ZoomFit() Fits the entire scene in the viewport control's client area. (inherited from Workspace).
Public method ZoomFit(IList<Entity>, bool) Fits the entire scene in the viewport control's client area. (inherited from Workspace).
Public method ZoomFit(IList<Entity>, bool, int) Fits the entire scene in the viewport control's client area. (inherited from Workspace).
Public method ZoomFit(IList<SelectedItem>) Fits the selected items. (inherited from Workspace).
Public method ZoomFit(IList<SelectedItem>, int) Fits the selected items. (inherited from Workspace).
Public method ZoomFit(IList<SelectedItem>, int, perspectiveFitType) Fits the selected items. (inherited from Workspace).
Public method ZoomFit(bool) Fits the entire scene in the viewport control's client area. (inherited from Workspace).
Public method ZoomFit(bool, int) Fits the entire scene in the viewport control's client area. (inherited from Workspace).
Public method ZoomFit(int) Fits the entire scene in the viewport control's client area. (inherited from Workspace).
Public method ZoomFitSelectedLeaves() Fits the selected entities, including the ones inside BlockReferences. (inherited from Workspace).
Public method ZoomFitSelectedLeaves(int) Fits the selected entities, including the ones inside BlockReferences. (inherited from Workspace).
Public method ZoomFitSelectedLeaves(int, perspectiveFitType) Fits the selected entities, including the ones inside BlockReferences. (inherited from Workspace).
Public method ZoomIn(int) Zooms the view in. (inherited from Workspace).
Public method ZoomOut(int) Zooms the view out. (inherited from Workspace).
Public method ZoomWindow(Point, Point) Zooms to the specified window. (inherited from Workspace).
Top
Events
 
Name Description
Public event BoundingBoxChanged Occurs when the scene bounding box has changed. (inherited from Workspace).
Public event CameraChanged Occurs when camera changes its position. (inherited from Workspace).
Public event CameraMoveBegin Occurs when a camera Zoom/Pan/Rotate camera movement begins. (inherited from Workspace).
Public event CameraMoveEnd Occurs when a Zoom/Pan/Rotate camera movement ends. (inherited from Workspace).
Public event ErrorOccurred Occurs when an error happens during the drawing. (inherited from Workspace).
Public event InitializeScene Occurs when the control is shown for the first time. (inherited from WorkspaceBase).
Public event MeshingCompleted Occurs when the meshing process has completed.
Public event Mouse3DButtonDown Occurs when a Mouse3D button is pressed. (inherited from Workspace).
Public event Mouse3DButtonUp Occurs when a Mouse3D button is pressed. (inherited from Workspace).
Public event Mouse3DMove Occurs when a Mouse3D movement operation is performed. (inherited from Workspace).
Public event MultiTouchClick Occurs when a finger touches and holds a multitouch surface. (inherited from Workspace).
Public event MultiTouchDoubleClick (inherited from Workspace).
Public event MultiTouchDown (inherited from Workspace).
Public event MultiTouchMove (inherited from Workspace).
Public event MultiTouchUp Occurs when a multitouch surface is released. (inherited from Workspace).
Public event NavigationTimerTick Occurs during the scene navigation with the keyboard. (inherited from Workspace).
Public event ProgressChanged Occurs when the read/write progress has changed. (inherited from Workspace).
Public event SelectionChanged Occurs when entity selection has changed. (inherited from Workspace).
Public event TouchClick Occurs when a finger touches and holds the touch surface. (inherited from Workspace).
Public event TouchDoubleClick Occurs when the touch surface is double-clicked. (inherited from Workspace).
Public event ViewChanged Occurs when the SetView is called. (inherited from Workspace).
Public event WorkCancelled Occurs when the background work is cancelled. (inherited from Workspace).
Public event WorkCompleted Occurs when the background work has completed. (inherited from Workspace).
Public event WorkFailed Occurs when the background work has failed. (inherited from Workspace).
Top
Classes
 
Name Description
Public class MeshingCompletedEventArgs Provides data for the Simulation.MeshingCompleted event.
Top
Name Description
Public delegate MeshingCompletedEventHandler Represents the method that will handle the Simulation.MeshingCompleted event.
Top
Fields
 
Name Description
Public field Static AutoRefreshProperty (inherited from Workspace).
Public field Static FontFamilyProperty (inherited from Workspace).
Public field Static FontSizeProperty (inherited from Workspace).
Public field Static FontStyleProperty (inherited from Workspace).
Public field Static FontWeightProperty (inherited from Workspace).
Public field Static RendererProperty (inherited from WorkspaceBase).
Public field StandardShaders (inherited from Workspace).
Protected field backgroundWorker (inherited from Workspace).
Protected field doRender (inherited from WorkspaceBase).
Protected field fps Framerate per second counter. (inherited from Workspace).
Internal protected (Protected Friend) field hasFocus Hold the focus status. (inherited from Workspace).
Protected field shortcutKeys (inherited from Workspace).
Top

.NET Framework

Supported in: 4.7.2

In this article

Definition