Rhino C++ API  7.24
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
CRhinoDimensionHistoryEnabler Class Reference

#include <RhinoSdkDimension.h>

Public Member Functions

 CRhinoDimensionHistoryEnabler (unsigned int doc_sn)
 
 ~CRhinoDimensionHistoryEnabler ()
 

Static Public Member Functions

static void EnableRecordAnnotationHistory (bool enable)
 
static bool RecordAnnotationHistory ()
 

Public Attributes

unsigned int m_doc_sn = 0
 
bool m_history_on = false
 

Detailed Description

Copyright (c) 1993-2017 Robert McNeel & Associates. All rights reserved. Rhinoceros is a registered trademark of Robert McNeel & Associates.

THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY. ALL IMPLIED WARRANTIES OF FITNESS FOR ANY PARTICULAR PURPOSE AND OF MERCHANTABILITY ARE HEREBY DISCLAIMED.

For complete Rhino SDK copyright information see http://www.rhino3d.com/developer. Putting one of these on the stack before checking if history is on and writing a history record will turn history on temporarily if it's not already on, and then turn it back off if it was off when this is destructed It's here so history can easily be turned on whenever dimensions are made

Constructor & Destructor Documentation

◆ CRhinoDimensionHistoryEnabler()

CRhinoDimensionHistoryEnabler::CRhinoDimensionHistoryEnabler ( unsigned int  doc_sn)

◆ ~CRhinoDimensionHistoryEnabler()

CRhinoDimensionHistoryEnabler::~CRhinoDimensionHistoryEnabler ( )

Member Function Documentation

◆ EnableRecordAnnotationHistory()

static void CRhinoDimensionHistoryEnabler::EnableRecordAnnotationHistory ( bool  enable)
static

◆ RecordAnnotationHistory()

static bool CRhinoDimensionHistoryEnabler::RecordAnnotationHistory ( )
static

Member Data Documentation

◆ m_doc_sn

unsigned int CRhinoDimensionHistoryEnabler::m_doc_sn = 0

◆ m_history_on

bool CRhinoDimensionHistoryEnabler::m_history_on = false