Grx.Mgd 1.0
Loading...
Searching...
No Matches
Public Member Functions | Properties | List of all members
Gssoft.Gscad.DatabaseServices.Viewport Class Reference

Public Member Functions

bool IsLayerFrozenInViewport (ObjectId layerId)
 
ObjectIdCollection GetFrozenLayers ()
 
void FreezeLayersInViewport (System.Collections.IEnumerator layerIds)
 
void GetUcs (ref Point3d origin, ref Vector3d vecX, ref Vector3d vecY)
 
void SetShadePlot (ShadePlotType type, ObjectId shadePlotId)
 
void SetUcs (ObjectId userCoordinateSystemId)
 
void SetUcs (OrthographicView view)
 
void SetUcs (Point3d origin, Vector3d x, Vector3d y)
 
void SetUcsToWorld ()
 
void SetViewDirection (OrthographicView view)
 
void ThawAllLayersInViewport ()
 
void ThawLayersInViewport (System.Collections.IEnumerator layerIds)
 
void UpdateDisplay ()
 
- Public Member Functions inherited from Gssoft.Gscad.DatabaseServices.Entity
Entity GetTransformedCopy (Matrix3d transform)
 
virtual Geometry.Plane GetPlane ()
 
void Explode (DBObjectCollection entitySet)
 
virtual void Highlight ()
 
virtual void Highlight (FullSubentityPath subId, bool highlightAll)
 
virtual void Unhighlight ()
 
virtual void Unhighlight (FullSubentityPath subId, bool highlightAll)
 
void SetDatabaseDefaults ()
 
void SetDatabaseDefaults (Database sourceDatabase)
 
virtual void TransformBy (Matrix3d transform)
 
Entity GetSubentity (FullSubentityPath id)
 
virtual Extents3d GetSubentityGeometricExtents (FullSubentityPath subPath)
 
void RecordGraphicsModified (bool setModified)
 
virtual void SetDragStatus (DragStatus status)
 
virtual void SetGripStatus (GripStatus status)
 
void SetPropertiesFrom (Entity entityPointer)
 
void Draw ()
 
void List ()
 
virtual bool IsContentSnappable ()
 
virtual void SetLayerId (ObjectId newValue, bool allowHidden)
 
virtual void SetSubentityGripStatus (GripStatus status, FullSubentityPath subentity)
 
void IntersectWith (Entity entityPointer, Intersect intersectType, Geometry.Plane projectionPlane, Point3dCollection points, long thisGraphicSystemMarker, long otherGraphicSystemMarker)
 
void IntersectWith (Entity entityPointer, Intersect intersectType, Point3dCollection points, long thisGraphicSystemMarker, long otherGraphicSystemMarker)
 
void IntersectWith (Entity entityPointer, Intersect intersectType, Geometry.Plane projectionPlane, Point3dCollection points, IntPtr thisGraphicSystemMarker, IntPtr otherGraphicSystemMarker)
 
void IntersectWith (Entity entityPointer, Intersect intersectType, Point3dCollection points, IntPtr thisGraphicSystemMarker, IntPtr otherGraphicSystemMarker)
 
void GetObjectSnapPoints (ObjectSnapModes snapMode, int gsSelectionMark, Point3d pickPoint, Point3d lastPoint, Matrix3d viewTransform, Point3dCollection snapPoints, IntegerCollection geometryIds, Matrix3d insertionMat)
 
void GetObjectSnapPoints (ObjectSnapModes snapMode, int gsSelectionMark, Point3d pickPoint, Point3d lastPoint, Matrix3d viewTransform, Point3dCollection snapPoints, IntegerCollection geometryIds)
 
void GetStretchPoints (Point3dCollection stretchPoints)
 
void MoveStretchPointsAt (IntegerCollection indices, Vector3d offset)
 
- Public Member Functions inherited from Gssoft.Gscad.DatabaseServices.DBObject
virtual void ApplyPartialUndo (DwgFiler undoFiler, RXClass classObj)
 
void Cancel ()
 
void Close ()
 
void CloseAndPage (bool onlyWhenClean)
 
void CreateExtensionDictionary ()
 
virtual DecomposeForSaveReplacementRecord DecomposeForSave (DwgVersion version)
 
virtual DBObject DeepClone (DBObject ownerPointer, IdMapping idMap, bool isPrimary)
 
void DisableUndoRecording (bool disable)
 
void DowngradeOpen ()
 
void DowngradeToNotify (bool wasWritable)
 
void DwgIn (DwgFiler filer)
 
void DwgOut (DwgFiler filer)
 
void DxfIn (DxfFiler filer)
 
void DxfOut (DxfFiler filer)
 
void Erase ()
 
void Erase (bool erasing)
 
ObjectId GetField ()
 
ObjectId GetField (string propertyName)
 
virtual FullDwgVersion GetObjectSaveVersion (DwgFiler filer)
 
virtual FullDwgVersion GetObjectSaveVersion (DxfFiler filer)
 
Gcad.ErrorStatus AddPersistentReactor (ObjectId objId)
 
void RemovePersistentReactor (ObjectId objId)
 
List< RXObjectGetReactors ()
 
List< RXObjectGetTransientReactors ()
 
void HandOverTo ([CallerMustClose()] DBObject newPointer, bool keepXData, bool keepExtensionDictionary)
 
bool HasPersistentReactor (ObjectId objId)
 
void ReleaseExtensionDictionary ()
 
ObjectId RemoveField ()
 
void RemoveField (ObjectId id)
 
ObjectId RemoveField (string propertyName)
 
void SetObjectIdsInFlux ()
 
void SwapIdWith (ObjectId otherId, bool swapExtendedData, bool swapExtensionDictionary)
 
virtual void SwapReferences (IdMapping idMap)
 
bool UpgradeFromNotify ()
 
void UpgradeOpen ()
 
virtual DBObject WblockClone (RXObject ownerPointer, IdMapping idMap, bool isPrimary)
 
ResultBuffer GetXDataForApplication (string applicationName)
 
void AddContext (ObjectContext context)
 
void RemoveContext (ObjectContext context)
 
bool HasContext (ObjectContext context)
 
ObjectIdCollection GetPersistentReactorIds ()
 
void SetPaperOrientation (bool bPaperOrientation)
 
bool SetFromStyle ()
 
- Public Member Functions inherited from Gssoft.Gscad.Runtime.RXObject
RXClass GetRXClass ()
 
virtual object Clone ()
 
int CompareTo (object obj)
 
virtual void CopyFrom (RXObject source)
 
IntPtr QueryX (RXClass protocolClass)
 
IntPtr X (RXClass protocolClass)
 
- Public Member Functions inherited from Gssoft.Gscad.Runtime.DisposableWrapper
override bool Equals (object obj)
 
override int GetHashCode ()
 
void Dispose ()
 

Properties

double Brightness [get, set]
 
double Contrast [get, set]
 
double CustomScale [get, set]
 
double LensLength [get, set]
 
double Elevation [get, set]
 
double Height [get, set]
 
double ViewHeight [get, set]
 
double Width [get, set]
 
double BackClipDistance [get, set]
 
double FrontClipDistance [get, set]
 
double SnapAngle [get, set]
 
double TwistAngle [get, set]
 
bool BackClipOn [get, set]
 
bool DefaultLightingOn [get, set]
 
bool FastZoomOn [get, set]
 
bool FrontClipAtEyeOn [get, set]
 
bool FrontClipOn [get, set]
 
bool GridAdaptive [get, set]
 
bool GridBoundToLimits [get, set]
 
bool GridFollow [get, set]
 
bool GridOn [get, set]
 
bool GridSubdivisionRestricted [get, set]
 
bool HiddenLinesRemoved [get, set]
 
bool LinkedToSheetView [get]
 
bool Locked [get, set]
 
bool NonRectClipOn [get, set]
 
bool On [get, set]
 
bool PlotAsRaster [get]
 
bool PlotWireframe [get]
 
bool SnapIsometric [get, set]
 
bool SnapOn [get, set]
 
bool Transparent [get, set]
 
bool UcsFollowModeOn [get, set]
 
bool UcsIconAtOrigin [get, set]
 
bool UcsIconVisible [get, set]
 
bool UcsPerViewport [get, set]
 
bool PerspectiveOn [get, set]
 
Point3d CenterPoint [get, set]
 
Color AmbientLightColor [get, set]
 
AnnotationScale AnnotationScale [get, set]
 
ObjectId Background [get, set]
 
ObjectId NonRectClipEntityId [get, set]
 
ObjectId ShadePlotId [get]
 
ObjectId SunId [get]
 
ObjectId UcsName [get]
 
ObjectId VisualStyleId [get, set]
 
OrthographicView UcsOrthographic [get]
 
OrthographicView ViewOrthographic [get]
 
ShadePlotType ShadePlot [get, set]
 
StandardScaleType StandardScale [get, set]
 
CoordinateSystem3d Ucs [get]
 
Point2d SnapBasePoint [get, set]
 
Point2d ViewCenter [get, set]
 
Point3d ViewTarget [get, set]
 
Vector2d GridIncrement [get, set]
 
Vector2d SnapIncrement [get, set]
 
Vector3d ViewDirection [get, set]
 
ushort GridMajor [get, set]
 
ushort CircleSides [get, set]
 
short Number [get]
 
ushort SnapIsoPair [get, set]
 
string EffectivePlotStyleSheet [get]
 
string PlotStyleSheet [get, set]
 
- Properties inherited from Gssoft.Gscad.DatabaseServices.Entity
string Material [get, set]
 
ObjectId MaterialId [get, set]
 
ObjectId BlockId [get]
 
string BlockName [get]
 
LineWeight LineWeight [get, set]
 
bool CastShadows [get, set]
 
int ColorIndex [get, set]
 
virtual bool IsPlanar [get]
 
bool CloneMeForDragging [get]
 
CollisionType CollisionType [get]
 
bool ReceiveShadows [get, set]
 
ObjectId LinetypeId [get, set]
 
ObjectId EdgeStyleId [get, set]
 
ObjectId FaceStyleId [get, set]
 
ObjectId VisualStyleId [get, set]
 
Matrix3d Ecs [get]
 
Extents3d GeometricExtents [get]
 
Extents3d GeomExtents [get]
 
Color Color [get, set]
 
ObjectId LayerId [get, set]
 
EntityColor EntityColor [get]
 
bool Visible [get, set]
 
double LinetypeScale [get, set]
 
string Layer [get, set]
 
Matrix3d CompoundObjectTransform [get]
 
string Linetype [get, set]
 
string PlotStyleName [get, set]
 
Transparency Transparency [get, set]
 
- Properties inherited from Gssoft.Gscad.DatabaseServices.DBObject
Database Database [get]
 
Drawable Drawable [get]
 
ObjectId ExtensionDictionary [get]
 
Handle Handle [get]
 
bool HasFields [get]
 
bool HasSaveVersionOverride [get, set]
 
ObjectId Id [get]
 
ObjectId ObjectId [get]
 
ObjectId OwnerId [get]
 
bool IsAProxy [get]
 
bool IsCancelling [get]
 
bool IsErased [get]
 
bool IsEraseStatusToggled [get]
 
bool IsModified [get]
 
bool IsModifiedGraphics [get]
 
bool IsModifiedXData [get]
 
bool IsNewObject [get]
 
bool IsNotifyEnabled [get]
 
bool IsNotifying [get]
 
bool IsObjectIdsInFlux [get]
 
bool IsPersistent [get]
 
bool IsReadEnabled [get]
 
bool IsReallyClosing [get]
 
bool IsTransactionResident [get]
 
bool IsUndoing [get]
 
bool IsWriteEnabled [get]
 
DuplicateRecordCloning MergeStyle [get]
 
virtual FullDwgVersion ObjectBirthVersion [get]
 
DwgFiler UndoFiler [get]
 
virtual ResultBuffer XData [get, set]
 
AnnotativeStates Annotative [get, set]
 
object AcadObject [get]
 
PaperOrientationStates PaperOrientation [get]
 
ObjectClosedEventHandler ObjectClosed
 
ObjectErasedEventHandler Erased
 
ObjectEventHandler Copied
 
ObjectEventHandler SubObjectModified
 
EventHandler Cancelled
 
EventHandler Goodbye
 
EventHandler Modified
 
EventHandler ModifiedXData
 
EventHandler ModifyUndone
 
EventHandler OpenedForModify
 
EventHandler Reappended
 
EventHandler Unappended
 
- Properties inherited from Gssoft.Gscad.GraphicsInterface.Drawable
Extents3d Bounds [get]
 
- Properties inherited from Gssoft.Gscad.Runtime.DisposableWrapper
bool AutoDelete [get, set]
 
bool IsDisposed [get]
 
IntPtr UnmanagedObject [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from Gssoft.Gscad.DatabaseServices.DBObject
static bool IsCustomObject (ObjectId id)
 
- Static Public Member Functions inherited from Gssoft.Gscad.Runtime.RXObject
static RXObject Create (IntPtr unmanagedPointer, bool autoDelete)
 
static RXClass GetClass (Type type)
 
- Static Public Member Functions inherited from Gssoft.Gscad.Runtime.DisposableWrapper
static DisposableWrapper Create (Type type, IntPtr unmanagedPointer, bool autoDelete)
 
static bool operator== (DisposableWrapper a, DisposableWrapper b)
 
static bool operator!= (DisposableWrapper a, DisposableWrapper b)
 
- Protected Member Functions inherited from Gssoft.Gscad.DatabaseServices.DBObject
void AssertNotifyEnabled ()
 
void AssertReadEnabled ()
 
void AssertWriteEnabled (bool autoUndo, bool recordModified)
 
virtual void DwgInFields (DwgFiler filer)
 
virtual void DwgOutFields (DwgFiler filer)
 
virtual void DxfInFields (DxfFiler filer)
 
virtual void DxfOutFields (DxfFiler filer)
 
override void DeleteUnmanagedObject ()
 
- Protected Member Functions inherited from Gssoft.Gscad.Runtime.RXObject
override void DeleteUnmanagedObject ()
 
- Protected Member Functions inherited from Gssoft.Gscad.Runtime.DisposableWrapper
abstract void DeleteUnmanagedObject ()
 
 DisposableWrapper (object obj, bool autoDelete)
 
 DisposableWrapper (IntPtr unmanagedPointer, bool autoDelete)
 
virtual void Dispose (bool disposing)