|
| ON_DimStyleContext ()=default |
|
| ON_DimStyleContext (const ON_DimStyleContext &)=default |
|
virtual | ~ON_DimStyleContext () |
|
virtual bool | AddDimStyle (const ON_DimStyle &dim_style, bool bResolveNameAndIdConflicts) |
|
virtual const ON_DimStyle & | CurrentDimStyle () const |
|
virtual const ON_DimStyle * | DimStyleFromContentHash (const ON_SHA1_Hash &content_hash, const ON_DimStyle *not_found_result=nullptr) const |
|
virtual const ON_DimStyle * | DimStyleFromFont (const ON_Font &font, double model_space_text_scale, double text_height, ON::LengthUnitSystem text_height_unit_system, bool bReturnClosestMatch=true, const ON_DimStyle *not_found_result=nullptr) const |
|
virtual const ON_DimStyle * | DimStyleFromId (ON_UUID id, const ON_DimStyle *not_found_result=nullptr) const |
|
virtual const ON_DimStyle * | DimStyleFromName (const ON_NameHash &name_hash, const ON_DimStyle *not_found_result=nullptr) const |
|
virtual const ON_DimStyle * | FirstDimStyle (bool bIncludeSystemDimStyles=false, bool bIncludeDeletedDimStyles=false) const |
|
virtual ON__UINT64 | ModelSerialNumber () const |
|
virtual ON::LengthUnitSystem | ModelUnitSystem () const |
|
virtual bool | ModifyDimStyle (ON_UUID model_dim_style_id, const ON_DimStyle &dim_style) |
|
virtual const ON_DimStyle * | NextDimStyle (ON_UUID id, bool bIncludeSystemDimStyles=false, bool bIncludeDeletedDimStyles=false) const |
|
ON_DimStyleContext & | operator= (const ON_DimStyleContext &)=default |
|
virtual const ON_DimStyle * | PrevDimStyle (ON_UUID id, bool bIncludeSystemDimStyles=false, bool bIncludeDeletedDimStyles=false) const |
|
Description: A general and portable interface to access a model's available dimension styles. Remarks: The Rhino C++ SDK function CRhinoDoc.DimStyleContext() will return an ON_DimStyleContext for the Rhino model. The ONX_Model function ONX_Model.DimStyleContext() will return an ON_DimStyleContext for ONX_Model model.