Files
opennurbs/6/class_o_n_x___model.html
Bozo 2d5c650ea1 Publish!
Generated from TESTING
2018-01-26 12:35:52 +00:00

2906 lines
174 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>openNURBS SDK Help: ONX_Model Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">openNURBS SDK Help
&#160;<span id="projectnumber">6.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="class_o_n_x___model-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">ONX_Model Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="opennurbs__extensions_8h_source.html">opennurbs_extensions.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a6a92b0d0bd753cc0c52c468a68effdfc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a6a92b0d0bd753cc0c52c468a68effdfc">ONX_Model</a> ()</td></tr>
<tr class="separator:a6a92b0d0bd753cc0c52c468a68effdfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85cf818003d0d8fe1c66ff221ede042f"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a85cf818003d0d8fe1c66ff221ede042f">~ONX_Model</a> ()</td></tr>
<tr class="separator:a85cf818003d0d8fe1c66ff221ede042f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4146edad82268bc815ce500fca490f5b"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a4146edad82268bc815ce500fca490f5b">ActiveAndDeletedComponentCount</a> (<a class="el" href="class_o_n___model_component.html#a2977d69091b4952cc19b0189a28a0eac">ON_ModelComponent::Type</a> component_type) const</td></tr>
<tr class="separator:a4146edad82268bc815ce500fca490f5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abbb885e1a9dcb34b9de487d02b838d12"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#abbb885e1a9dcb34b9de487d02b838d12">ActiveComponentCount</a> (<a class="el" href="class_o_n___model_component.html#a2977d69091b4952cc19b0189a28a0eac">ON_ModelComponent::Type</a> component_type) const</td></tr>
<tr class="separator:abbb885e1a9dcb34b9de487d02b838d12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab263492baae183368b4deccd1b213fd"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#aab263492baae183368b4deccd1b213fd">AddDefaultDimensionStyle</a> (const wchar_t *dimension_style_name, ON::LengthUnitSystem length_unit_system, double model_tolerance)</td></tr>
<tr class="separator:aab263492baae183368b4deccd1b213fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86ed58f0f7e770ebe3cbd4d326ba7a03"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a86ed58f0f7e770ebe3cbd4d326ba7a03">AddDefaultLayer</a> (const wchar_t *layer_name, <a class="el" href="class_o_n___color.html">ON_Color</a> layer_color)</td></tr>
<tr class="separator:a86ed58f0f7e770ebe3cbd4d326ba7a03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3413c847ed8fad685ccd709322ddf648"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a3413c847ed8fad685ccd709322ddf648">AddLayer</a> (const wchar_t *layer_name, <a class="el" href="class_o_n___color.html">ON_Color</a> layer_color)</td></tr>
<tr class="separator:a3413c847ed8fad685ccd709322ddf648"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32a3474b62b5ad318120be19f05a8be4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a32a3474b62b5ad318120be19f05a8be4">AddManagedModelComponent</a> (class <a class="el" href="class_o_n___model_component.html">ON_ModelComponent</a> *managed_model_component, bool bResolveIdAndNameConflicts)</td></tr>
<tr class="separator:a32a3474b62b5ad318120be19f05a8be4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11f2c3e86cb8a728a4abcbec7aeded9d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a11f2c3e86cb8a728a4abcbec7aeded9d">AddManagedModelComponent</a> (class <a class="el" href="class_o_n___model_component.html">ON_ModelComponent</a> *managed_model_component)</td></tr>
<tr class="separator:a11f2c3e86cb8a728a4abcbec7aeded9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4709866cabf9868469b1c5b2c2855915"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a4709866cabf9868469b1c5b2c2855915">AddManagedModelGeometryComponent</a> (class <a class="el" href="class_o_n___object.html">ON_Object</a> *managed_geometry_object, class <a class="el" href="class_o_n__3dm_object_attributes.html">ON_3dmObjectAttributes</a> *managed_attributes, bool bResolveIdAndNameConflicts)</td></tr>
<tr class="separator:a4709866cabf9868469b1c5b2c2855915"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09f77289c75e33d25e4c26b453554d37"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a09f77289c75e33d25e4c26b453554d37">AddManagedModelGeometryComponent</a> (class <a class="el" href="class_o_n___object.html">ON_Object</a> *managed_geometry_object, class <a class="el" href="class_o_n__3dm_object_attributes.html">ON_3dmObjectAttributes</a> *managed_attributes)</td></tr>
<tr class="separator:a09f77289c75e33d25e4c26b453554d37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2050e91080663a01d30d153a4a69d7f0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a2050e91080663a01d30d153a4a69d7f0">AddModelComponent</a> (const class <a class="el" href="class_o_n___model_component.html">ON_ModelComponent</a> &amp;model_component, bool bResolveIdAndNameConflicts)</td></tr>
<tr class="separator:a2050e91080663a01d30d153a4a69d7f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e79744209d8e692b28951aa062d8969"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a1e79744209d8e692b28951aa062d8969">AddModelComponent</a> (const class <a class="el" href="class_o_n___model_component.html">ON_ModelComponent</a> &amp;model_component)</td></tr>
<tr class="separator:a1e79744209d8e692b28951aa062d8969"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3dc95c7ef9ca6489b0eca766de21c012"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a3dc95c7ef9ca6489b0eca766de21c012">AddModelComponentForExperts</a> (class <a class="el" href="class_o_n___model_component.html">ON_ModelComponent</a> *model_component, bool bManagedComponent, bool bResolveIdAndNameConflicts, bool bUpdateComponentIdentification)</td></tr>
<tr class="separator:a3dc95c7ef9ca6489b0eca766de21c012"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a478fe8f56e6f7933797723416950466d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a478fe8f56e6f7933797723416950466d">AddModelGeometryComponent</a> (const class <a class="el" href="class_o_n___object.html">ON_Object</a> *geometry_object, const class <a class="el" href="class_o_n__3dm_object_attributes.html">ON_3dmObjectAttributes</a> *attributes, bool bResolveIdAndNameConflicts)</td></tr>
<tr class="separator:a478fe8f56e6f7933797723416950466d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6dd1f2fef0a3af45cf1b67af4d854d8f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a6dd1f2fef0a3af45cf1b67af4d854d8f">AddModelGeometryComponent</a> (const class <a class="el" href="class_o_n___object.html">ON_Object</a> *geometry_object, const class <a class="el" href="class_o_n__3dm_object_attributes.html">ON_3dmObjectAttributes</a> *attributes)</td></tr>
<tr class="separator:a6dd1f2fef0a3af45cf1b67af4d854d8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6862aa32782d6c347fb6615f3a49799"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#aa6862aa32782d6c347fb6615f3a49799">AddModelGeometryComponentForExperts</a> (bool bManageGeometry, class <a class="el" href="class_o_n___object.html">ON_Object</a> *geometry_object, bool bManageAttributes, class <a class="el" href="class_o_n__3dm_object_attributes.html">ON_3dmObjectAttributes</a> *attributes, bool bResolveIdAndNameConflicts)</td></tr>
<tr class="separator:aa6862aa32782d6c347fb6615f3a49799"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8ff6c4dc08a3f25657c9173f7f856b7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#ae8ff6c4dc08a3f25657c9173f7f856b7">ComponentFromId</a> (<a class="el" href="class_o_n___model_component.html#a2977d69091b4952cc19b0189a28a0eac">ON_ModelComponent::Type</a> component_type, <a class="el" href="struct_o_n___u_u_i_d__struct.html">ON_UUID</a> component_model_id) const</td></tr>
<tr class="separator:ae8ff6c4dc08a3f25657c9173f7f856b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a795739fff065ec06dcf53f8a60f49a52"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a795739fff065ec06dcf53f8a60f49a52">ComponentFromIndex</a> (<a class="el" href="class_o_n___model_component.html#a2977d69091b4952cc19b0189a28a0eac">ON_ModelComponent::Type</a> component_type, int component_model_index) const</td></tr>
<tr class="separator:a795739fff065ec06dcf53f8a60f49a52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a676b5889af2536a13156631f5a5220a2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a676b5889af2536a13156631f5a5220a2">ComponentFromName</a> (<a class="el" href="class_o_n___model_component.html#a2977d69091b4952cc19b0189a28a0eac">ON_ModelComponent::Type</a> component_type, <a class="el" href="struct_o_n___u_u_i_d__struct.html">ON_UUID</a> component_parent_id, const wchar_t *component_model_name) const</td></tr>
<tr class="separator:a676b5889af2536a13156631f5a5220a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa5bbbdc3a2a3226dde2eed678cdfa5f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#afa5bbbdc3a2a3226dde2eed678cdfa5f">ComponentFromNameHash</a> (<a class="el" href="class_o_n___model_component.html#a2977d69091b4952cc19b0189a28a0eac">ON_ModelComponent::Type</a> component_type, const <a class="el" href="class_o_n___name_hash.html">ON_NameHash</a> &amp;component_model_name_hash) const</td></tr>
<tr class="separator:afa5bbbdc3a2a3226dde2eed678cdfa5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad4ee61b3f9801389299ecf0823f8011"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#aad4ee61b3f9801389299ecf0823f8011">ComponentFromUnsignedIndex</a> (<a class="el" href="class_o_n___model_component.html#a2977d69091b4952cc19b0189a28a0eac">ON_ModelComponent::Type</a> component_type, unsigned int component_model_index) const</td></tr>
<tr class="separator:aad4ee61b3f9801389299ecf0823f8011"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0d3fefe2a2ad8f700fe13518b601b85"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#ab0d3fefe2a2ad8f700fe13518b601b85">ComponentIndexLimit</a> (<a class="el" href="class_o_n___model_component.html#a2977d69091b4952cc19b0189a28a0eac">ON_ModelComponent::Type</a> component_type) const</td></tr>
<tr class="separator:ab0d3fefe2a2ad8f700fe13518b601b85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a209a4b123b3a0ecdd2271188508fe28b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___s_h_a1___hash.html">ON_SHA1_Hash</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a209a4b123b3a0ecdd2271188508fe28b">ContentHash</a> () const</td></tr>
<tr class="separator:a209a4b123b3a0ecdd2271188508fe28b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf131d763c5b6c3a5fb0a73943a08d30"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#adf131d763c5b6c3a5fb0a73943a08d30">CurrentDimensionStyle</a> () const</td></tr>
<tr class="separator:adf131d763c5b6c3a5fb0a73943a08d30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f13d68bf15581775d5cf6417b38f518"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_o_n___u_u_i_d__struct.html">ON_UUID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a4f13d68bf15581775d5cf6417b38f518">CurrentDimensionStyleId</a> () const</td></tr>
<tr class="separator:a4f13d68bf15581775d5cf6417b38f518"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a360880d524fde24ca4b9fce0acc32ba7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a360880d524fde24ca4b9fce0acc32ba7">DefaultDimensionStyle</a> () const</td></tr>
<tr class="separator:a360880d524fde24ca4b9fce0acc32ba7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa92692bf4908a0703cb92592fb7c946"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#afa92692bf4908a0703cb92592fb7c946">DeletedComponentCount</a> (<a class="el" href="class_o_n___model_component.html#a2977d69091b4952cc19b0189a28a0eac">ON_ModelComponent::Type</a> component_type) const</td></tr>
<tr class="separator:afa92692bf4908a0703cb92592fb7c946"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6098289547298339cc91c8e001fb19b5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a6098289547298339cc91c8e001fb19b5">DimensionStyleFromId</a> (<a class="el" href="struct_o_n___u_u_i_d__struct.html">ON_UUID</a> dimension_styleid) const</td></tr>
<tr class="separator:a6098289547298339cc91c8e001fb19b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad76c1a34e48c658672937b3ea1035490"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#ad76c1a34e48c658672937b3ea1035490">DimensionStyleFromIndex</a> (int dimension_style_index) const</td></tr>
<tr class="separator:ad76c1a34e48c658672937b3ea1035490"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab62ccd442ddd9ccb6a1b12c984ff1add"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#ab62ccd442ddd9ccb6a1b12c984ff1add">DimensionStyleFromName</a> (const wchar_t *dimension_style_name) const</td></tr>
<tr class="separator:ab62ccd442ddd9ccb6a1b12c984ff1add"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a585f4c4d60afa010dcfb94d8210d035d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a585f4c4d60afa010dcfb94d8210d035d">DimensionStyleFromNameHash</a> (<a class="el" href="class_o_n___name_hash.html">ON_NameHash</a> dimension_style_name_hash) const</td></tr>
<tr class="separator:a585f4c4d60afa010dcfb94d8210d035d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c8c9d0418b85859d464267f26d8e128"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a4c8c9d0418b85859d464267f26d8e128">DimensionStyleWithFontCharacteristics</a> (const <a class="el" href="class_o_n___font.html">ON_Font</a> &amp;font_characteristics, double model_space_text_scale)</td></tr>
<tr class="separator:a4c8c9d0418b85859d464267f26d8e128"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9dde348f8b2f7d17994689bf374db588"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a9dde348f8b2f7d17994689bf374db588">Dump</a> (<a class="el" href="class_o_n___text_log.html">ON_TextLog</a> &amp;) const</td></tr>
<tr class="memdesc:a9dde348f8b2f7d17994689bf374db588"><td class="mdescLeft">&#160;</td><td class="mdescRight">text dump of entire model <a href="#a9dde348f8b2f7d17994689bf374db588">More...</a><br /></td></tr>
<tr class="separator:a9dde348f8b2f7d17994689bf374db588"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2a2e2295b616de76d8736db52413954"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#af2a2e2295b616de76d8736db52413954">DumpComponentList</a> (<a class="el" href="class_o_n___model_component.html#a2977d69091b4952cc19b0189a28a0eac">ON_ModelComponent::Type</a> component_type, <a class="el" href="class_o_n___text_log.html">ON_TextLog</a> &amp;text_log) const</td></tr>
<tr class="separator:af2a2e2295b616de76d8736db52413954"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a887f6d85cb01d77a2ebe9d032eba8461"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a887f6d85cb01d77a2ebe9d032eba8461">DumpComponentLists</a> (<a class="el" href="class_o_n___text_log.html">ON_TextLog</a> &amp;text_log) const</td></tr>
<tr class="separator:a887f6d85cb01d77a2ebe9d032eba8461"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6acc104cffba14fd92a39d1978df7f1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#ad6acc104cffba14fd92a39d1978df7f1">DumpSummary</a> (<a class="el" href="class_o_n___text_log.html">ON_TextLog</a> &amp;) const</td></tr>
<tr class="memdesc:ad6acc104cffba14fd92a39d1978df7f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">text dump of model properties and settings <a href="#ad6acc104cffba14fd92a39d1978df7f1">More...</a><br /></td></tr>
<tr class="separator:ad6acc104cffba14fd92a39d1978df7f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0189b584f46ace6f8a18fe2cfd10d2a5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a0189b584f46ace6f8a18fe2cfd10d2a5">DumpUserDataTable</a> (<a class="el" href="class_o_n___text_log.html">ON_TextLog</a> &amp;) const</td></tr>
<tr class="memdesc:a0189b584f46ace6f8a18fe2cfd10d2a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">text dump of user data table <a href="#a0189b584f46ace6f8a18fe2cfd10d2a5">More...</a><br /></td></tr>
<tr class="separator:a0189b584f46ace6f8a18fe2cfd10d2a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad09eb0e1818c8a7bcf61f6f0ad1fa42d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#ad09eb0e1818c8a7bcf61f6f0ad1fa42d">FirstDimensionStyleFromFont</a> (const <a class="el" href="class_o_n___font.html">ON_Font</a> *font, double model_space_text_scale, bool bIgnoreSystemDimStyles) const</td></tr>
<tr class="separator:ad09eb0e1818c8a7bcf61f6f0ad1fa42d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8cb8d7542e7a5edc3d7c6725b8b5915e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a8cb8d7542e7a5edc3d7c6725b8b5915e">FirstDimensionStyleFromManagedFontSerialNumber</a> (unsigned int managed_font_serial_number, double model_space_text_scale, bool bIgnoreSystemDimStyles) const</td></tr>
<tr class="separator:a8cb8d7542e7a5edc3d7c6725b8b5915e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6d9bf6babe5b6509db6228a93df6446"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#ab6d9bf6babe5b6509db6228a93df6446">GetDocumentUserString</a> (const wchar_t *key, <a class="el" href="class_o_n__w_string.html">ON_wString</a> &amp;string_value) const</td></tr>
<tr class="separator:ab6d9bf6babe5b6509db6228a93df6446"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba39627cf25f07fa036b39e9a3f96ee6"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#aba39627cf25f07fa036b39e9a3f96ee6">GetDocumentUserStrings</a> (<a class="el" href="class_o_n___class_array.html">ON_ClassArray</a>&lt; <a class="el" href="class_o_n___user_string.html">ON_UserString</a> &gt; &amp;user_strings) const</td></tr>
<tr class="separator:aba39627cf25f07fa036b39e9a3f96ee6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf40a90fd16f9fe7f4de273a0c92ae59"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#acf40a90fd16f9fe7f4de273a0c92ae59">ImageFromFileContent</a> (const <a class="el" href="class_o_n___content_hash.html">ON_ContentHash</a> &amp;image_file_content_hash) const</td></tr>
<tr class="separator:acf40a90fd16f9fe7f4de273a0c92ae59"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c957922a31cb10a52810ce5bcacc0e3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a6c957922a31cb10a52810ce5bcacc0e3">ImageFromFileFullPath</a> (const wchar_t *image_file_full_path_name) const</td></tr>
<tr class="separator:a6c957922a31cb10a52810ce5bcacc0e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89dcfb4433a50fa31fc18e3917cab7e2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a89dcfb4433a50fa31fc18e3917cab7e2">ImageFromFileReference</a> (const <a class="el" href="class_o_n___file_reference.html">ON_FileReference</a> &amp;file_reference) const</td></tr>
<tr class="separator:a89dcfb4433a50fa31fc18e3917cab7e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa83f34216fb486dcf8966f6eb59ecc0c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#aa83f34216fb486dcf8966f6eb59ecc0c">ImageFromId</a> (<a class="el" href="struct_o_n___u_u_i_d__struct.html">ON_UUID</a> image_id) const</td></tr>
<tr class="separator:aa83f34216fb486dcf8966f6eb59ecc0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab978105b119ec8a162116d6262c8c0a8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#ab978105b119ec8a162116d6262c8c0a8">ImageFromIndex</a> (int image_model_index) const</td></tr>
<tr class="separator:ab978105b119ec8a162116d6262c8c0a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58b4490125175d0fb836b46e53897637"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a58b4490125175d0fb836b46e53897637">IncrementalReadBegin</a> (<a class="el" href="class_o_n___binary_archive.html">ON_BinaryArchive</a> &amp;archive, bool bManageComponents, unsigned int table_filter, <a class="el" href="class_o_n___text_log.html">ON_TextLog</a> *error_log)</td></tr>
<tr class="separator:a58b4490125175d0fb836b46e53897637"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab096da2ee6eafb6ba15c67e58f3a2cd7"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#ab096da2ee6eafb6ba15c67e58f3a2cd7">IncrementalReadFinish</a> (<a class="el" href="class_o_n___binary_archive.html">ON_BinaryArchive</a> &amp;archive, bool bManageComponents, unsigned int table_filter, <a class="el" href="class_o_n___text_log.html">ON_TextLog</a> *error_log)</td></tr>
<tr class="separator:ab096da2ee6eafb6ba15c67e58f3a2cd7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b6b57d82e84fd6389571496aeda481f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a2b6b57d82e84fd6389571496aeda481f">IncrementalReadModelGeometry</a> (<a class="el" href="class_o_n___binary_archive.html">ON_BinaryArchive</a> &amp;archive, bool bManageModelGeometryComponent, bool bManageGeometry, bool bManageAttributes, unsigned int model_object_type_filter, <a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> &amp;model_geometry_reference)</td></tr>
<tr class="separator:a2b6b57d82e84fd6389571496aeda481f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0bda5583490cb0a95678eea577095c3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#ac0bda5583490cb0a95678eea577095c3">LayerFromAttributes</a> (const <a class="el" href="class_o_n__3dm_object_attributes.html">ON_3dmObjectAttributes</a> &amp;attributes) const</td></tr>
<tr class="separator:ac0bda5583490cb0a95678eea577095c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94b758cf04a6d880a59d2c1ffd249299"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a94b758cf04a6d880a59d2c1ffd249299">LayerFromId</a> (<a class="el" href="struct_o_n___u_u_i_d__struct.html">ON_UUID</a> layer_model_id) const</td></tr>
<tr class="separator:a94b758cf04a6d880a59d2c1ffd249299"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24c99d64cd4b1f121610fb04ba2aea18"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a24c99d64cd4b1f121610fb04ba2aea18">LayerFromIndex</a> (int layer_model_index) const</td></tr>
<tr class="separator:a24c99d64cd4b1f121610fb04ba2aea18"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81a76401fcc725c6caabdea0bce5e231"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a81a76401fcc725c6caabdea0bce5e231">LayerFromName</a> (<a class="el" href="struct_o_n___u_u_i_d__struct.html">ON_UUID</a> layer_parent_id, const wchar_t *layer_name) const</td></tr>
<tr class="separator:a81a76401fcc725c6caabdea0bce5e231"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2f6192f476ada55532ef7dae55d53bc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#ae2f6192f476ada55532ef7dae55d53bc">LayerFromNameHash</a> (const <a class="el" href="class_o_n___name_hash.html">ON_NameHash</a> &amp;layer_model_name_hash) const</td></tr>
<tr class="separator:ae2f6192f476ada55532ef7dae55d53bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa78cb3bc02bad3b6e8cc0a699d3d8c90"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#aa78cb3bc02bad3b6e8cc0a699d3d8c90">LinePatternFromAttributes</a> (const <a class="el" href="class_o_n__3dm_object_attributes.html">ON_3dmObjectAttributes</a> &amp;attributes) const</td></tr>
<tr class="separator:aa78cb3bc02bad3b6e8cc0a699d3d8c90"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5e3c7e4d8b61e3a51fdebdc258adbf5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#ae5e3c7e4d8b61e3a51fdebdc258adbf5">LinePatternFromId</a> (<a class="el" href="struct_o_n___u_u_i_d__struct.html">ON_UUID</a> line_pattern_model_id) const</td></tr>
<tr class="separator:ae5e3c7e4d8b61e3a51fdebdc258adbf5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac21f433ff05a753ffaedf5c323bb6875"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#ac21f433ff05a753ffaedf5c323bb6875">LinePatternFromIndex</a> (int line_pattern_model_index) const</td></tr>
<tr class="separator:ac21f433ff05a753ffaedf5c323bb6875"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3b0a4357b3dccef93f5fbe972833324"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#ad3b0a4357b3dccef93f5fbe972833324">LinePatternFromLayerIndex</a> (int layer_index) const</td></tr>
<tr class="separator:ad3b0a4357b3dccef93f5fbe972833324"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a841713cbb7a5a0b21f6f36e16ecd2027"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a841713cbb7a5a0b21f6f36e16ecd2027">LinePatternFromName</a> (const wchar_t *line_pattern_name) const</td></tr>
<tr class="separator:a841713cbb7a5a0b21f6f36e16ecd2027"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a154b7c66405c7f07d47f155171123e9c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a154b7c66405c7f07d47f155171123e9c">LinePatternFromNameHash</a> (<a class="el" href="class_o_n___name_hash.html">ON_NameHash</a> line_pattern_model_name_hash) const</td></tr>
<tr class="separator:a154b7c66405c7f07d47f155171123e9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70eba676014cc0e52d093a8e4206eb16"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_o_n___component_manifest.html">ON_ComponentManifest</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a70eba676014cc0e52d093a8e4206eb16">Manifest</a> () const</td></tr>
<tr class="separator:a70eba676014cc0e52d093a8e4206eb16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33d23c68bce7a10c2df3787fbdae1ea9"><td class="memItemLeft" align="right" valign="top">ON__UINT64&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a33d23c68bce7a10c2df3787fbdae1ea9">ModelContentVersionNumber</a> () const</td></tr>
<tr class="separator:a33d23c68bce7a10c2df3787fbdae1ea9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9909672f71b066ff4b4525c2c1c021db"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___bounding_box.html">ON_BoundingBox</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a9909672f71b066ff4b4525c2c1c021db">ModelGeometryBoundingBox</a> () const</td></tr>
<tr class="separator:a9909672f71b066ff4b4525c2c1c021db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc5853b250259a522f6a5a1036d0d5c5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_geometry_component.html">ON_ModelGeometryComponent</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#abc5853b250259a522f6a5a1036d0d5c5">ModelGeometryFromId</a> (unsigned int model_object_index)</td></tr>
<tr class="separator:abc5853b250259a522f6a5a1036d0d5c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ad6f10f8e171938a4e7b6c0fb679b38"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_geometry_component.html">ON_ModelGeometryComponent</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a3ad6f10f8e171938a4e7b6c0fb679b38">ModelGeometryFromIndex</a> (int model_object_index)</td></tr>
<tr class="separator:a3ad6f10f8e171938a4e7b6c0fb679b38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af970182000306bdb88c4eb2972aeb4d0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_geometry_component.html">ON_ModelGeometryComponent</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#af970182000306bdb88c4eb2972aeb4d0">ModelGeometryFromUnsignedIndex</a> (unsigned int model_object_index)</td></tr>
<tr class="separator:af970182000306bdb88c4eb2972aeb4d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafe49f04f022b0d93eac5cc04be2d723"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_o_n___manifest_map.html">ON_ManifestMap</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#aafe49f04f022b0d93eac5cc04be2d723">ModelToOriginalMap</a> () const</td></tr>
<tr class="separator:aafe49f04f022b0d93eac5cc04be2d723"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51afd1506f1cd2bafcdbc2ac00045b8c"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_o_n___manifest_map.html">ON_ManifestMap</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a51afd1506f1cd2bafcdbc2ac00045b8c">OriginalToModelMap</a> () const</td></tr>
<tr class="separator:a51afd1506f1cd2bafcdbc2ac00045b8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a356596cc1d9606d5877fd503f28fbe44"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a356596cc1d9606d5877fd503f28fbe44">Read</a> (<a class="el" href="class_o_n___binary_archive.html">ON_BinaryArchive</a> &amp;archive, unsigned int table_filter, unsigned int model_object_type_filter, <a class="el" href="class_o_n___text_log.html">ON_TextLog</a> *error_log)</td></tr>
<tr class="separator:a356596cc1d9606d5877fd503f28fbe44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afea4fe901b772568deed97d173dca75f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#afea4fe901b772568deed97d173dca75f">Read</a> (const char *filename, unsigned int table_filter, unsigned int model_object_type_filter, <a class="el" href="class_o_n___text_log.html">ON_TextLog</a> *error_log)</td></tr>
<tr class="separator:afea4fe901b772568deed97d173dca75f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82033975da492fa0299b4090b439f7f8"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a82033975da492fa0299b4090b439f7f8">Read</a> (const wchar_t *filename, unsigned int table_filter, unsigned int model_object_type_filter, <a class="el" href="class_o_n___text_log.html">ON_TextLog</a> *error_log)</td></tr>
<tr class="separator:a82033975da492fa0299b4090b439f7f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a115e5c8dd821b204e3d2b00aa67820f0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a115e5c8dd821b204e3d2b00aa67820f0">Read</a> (<a class="el" href="class_o_n___binary_archive.html">ON_BinaryArchive</a> &amp;archive, <a class="el" href="class_o_n___text_log.html">ON_TextLog</a> *error_log=nullptr)</td></tr>
<tr class="separator:a115e5c8dd821b204e3d2b00aa67820f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5157e6c2710708b38883132d3e8cf22b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a5157e6c2710708b38883132d3e8cf22b">Read</a> (const char *filename, <a class="el" href="class_o_n___text_log.html">ON_TextLog</a> *error_log=nullptr)</td></tr>
<tr class="separator:a5157e6c2710708b38883132d3e8cf22b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74a36f2917ea8f8cfca8d7db009a0ee0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a74a36f2917ea8f8cfca8d7db009a0ee0">Read</a> (const wchar_t *filename, <a class="el" href="class_o_n___text_log.html">ON_TextLog</a> *error_log=nullptr)</td></tr>
<tr class="separator:a74a36f2917ea8f8cfca8d7db009a0ee0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7468a36fda9e04f59acee263e9a618d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#ab7468a36fda9e04f59acee263e9a618d">RemoveModelComponent</a> (<a class="el" href="class_o_n___model_component.html#a2977d69091b4952cc19b0189a28a0eac">ON_ModelComponent::Type</a> component_type, <a class="el" href="struct_o_n___u_u_i_d__struct.html">ON_UUID</a> component_id)</td></tr>
<tr class="separator:ab7468a36fda9e04f59acee263e9a618d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4268aa18ffbcc6170b6394443e213711"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___bounding_box.html">ON_BoundingBox</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a4268aa18ffbcc6170b6394443e213711">RenderLightBoundingBox</a> () const</td></tr>
<tr class="separator:a4268aa18ffbcc6170b6394443e213711"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85eb9a76eb976ceebb8a2fd6d11bd45e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a85eb9a76eb976ceebb8a2fd6d11bd45e">RenderMaterialFromAttributes</a> (const <a class="el" href="class_o_n__3dm_object_attributes.html">ON_3dmObjectAttributes</a> &amp;attributes) const</td></tr>
<tr class="separator:a85eb9a76eb976ceebb8a2fd6d11bd45e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a154311447310caa6f49b91ca93173aea"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a154311447310caa6f49b91ca93173aea">RenderMaterialFromId</a> (<a class="el" href="struct_o_n___u_u_i_d__struct.html">ON_UUID</a> render_material_id) const</td></tr>
<tr class="separator:a154311447310caa6f49b91ca93173aea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a365fe884efd8768d74650901f704da45"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a365fe884efd8768d74650901f704da45">RenderMaterialFromIndex</a> (int render_material_index) const</td></tr>
<tr class="separator:a365fe884efd8768d74650901f704da45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49d57a2f2341bd2951b36524f300da1d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a49d57a2f2341bd2951b36524f300da1d">RenderMaterialFromLayerIndex</a> (int layer_index) const</td></tr>
<tr class="separator:a49d57a2f2341bd2951b36524f300da1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46986bd8b13949f831acf510f21b21b3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a46986bd8b13949f831acf510f21b21b3">Reset</a> ()</td></tr>
<tr class="separator:a46986bd8b13949f831acf510f21b21b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3bbfa27a4b56e454067fb667fba99b3c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a3bbfa27a4b56e454067fb667fba99b3c">SetCurrentDimensionStyleId</a> (<a class="el" href="struct_o_n___u_u_i_d__struct.html">ON_UUID</a> dimension_style_id)</td></tr>
<tr class="separator:a3bbfa27a4b56e454067fb667fba99b3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae35541db29fea076ddf67fbe1c21f85c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#ae35541db29fea076ddf67fbe1c21f85c">SetDocumentUserString</a> (const wchar_t *key, const wchar_t *string_value)</td></tr>
<tr class="separator:ae35541db29fea076ddf67fbe1c21f85c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75302bf563fa7d09e9e30fdda088435e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a75302bf563fa7d09e9e30fdda088435e">UsesIDef</a> (const <a class="el" href="class_o_n___instance_ref.html">ON_InstanceRef</a> &amp;iref, <a class="el" href="struct_o_n___u_u_i_d__struct.html">ON_UUID</a> idef_uuid) const</td></tr>
<tr class="separator:a75302bf563fa7d09e9e30fdda088435e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae78efb28ef00be9b443b92604d5a2175"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#ae78efb28ef00be9b443b92604d5a2175">ValdateComponentIdAndName</a> (<a class="el" href="class_o_n___model_component.html#a2977d69091b4952cc19b0189a28a0eac">ON_ModelComponent::Type</a> component_type, const <a class="el" href="struct_o_n___u_u_i_d__struct.html">ON_UUID</a> &amp;candidate_id, const <a class="el" href="struct_o_n___u_u_i_d__struct.html">ON_UUID</a> &amp;component_parent_id, const wchar_t *candidate_name, bool bResolveIdConflict, bool bResolveNameConflict, <a class="el" href="struct_o_n___u_u_i_d__struct.html">ON_UUID</a> &amp;model_id, <a class="el" href="class_o_n__w_string.html">ON_wString</a> &amp;model_name) const</td></tr>
<tr class="separator:ae78efb28ef00be9b443b92604d5a2175"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b880097cdfea21a5a9c03b3770d510d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___color.html">ON_Color</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a3b880097cdfea21a5a9c03b3770d510d">WireframeColorFromAttributes</a> (const <a class="el" href="class_o_n__3dm_object_attributes.html">ON_3dmObjectAttributes</a> &amp;attributes) const</td></tr>
<tr class="separator:a3b880097cdfea21a5a9c03b3770d510d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb080afd3f41d09c76eb7b1c8aab21da"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#aeb080afd3f41d09c76eb7b1c8aab21da">Write</a> (const char *filename, int version=0, <a class="el" href="class_o_n___text_log.html">ON_TextLog</a> *error_log=nullptr) const</td></tr>
<tr class="separator:aeb080afd3f41d09c76eb7b1c8aab21da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa76d97aee9adf79bdf41097f350048d2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#aa76d97aee9adf79bdf41097f350048d2">Write</a> (const wchar_t *filename, int version=0, <a class="el" href="class_o_n___text_log.html">ON_TextLog</a> *error_log=nullptr) const</td></tr>
<tr class="separator:aa76d97aee9adf79bdf41097f350048d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d138eb3829f2f4d386b0d42319d1315"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a3d138eb3829f2f4d386b0d42319d1315">Write</a> (<a class="el" href="class_o_n___binary_archive.html">ON_BinaryArchive</a> &amp;archive, int version=0, <a class="el" href="class_o_n___text_log.html">ON_TextLog</a> *error_log=nullptr) const</td></tr>
<tr class="separator:a3d138eb3829f2f4d386b0d42319d1315"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ab52f4f2ee2c23b6990343b1327da20a7"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#ab52f4f2ee2c23b6990343b1327da20a7">GetRDKDocumentInformation</a> (const <a class="el" href="class_o_n_x___model___user_data.html">ONX_Model_UserData</a> &amp;docud, <a class="el" href="class_o_n__w_string.html">ON_wString</a> &amp;rdk_xml_document_data)</td></tr>
<tr class="separator:ab52f4f2ee2c23b6990343b1327da20a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38aa996ae9bdb37446b075fe2aef83d1"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a38aa996ae9bdb37446b075fe2aef83d1">GetRDKObjectInformation</a> (const <a class="el" href="class_o_n___object.html">ON_Object</a> &amp;object, <a class="el" href="class_o_n__w_string.html">ON_wString</a> &amp;rdk_xml_object_data)</td></tr>
<tr class="separator:a38aa996ae9bdb37446b075fe2aef83d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63146698c65611528ed462458608594c"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a63146698c65611528ed462458608594c">IsRDKDocumentInformation</a> (const <a class="el" href="class_o_n_x___model___user_data.html">ONX_Model_UserData</a> &amp;docud)</td></tr>
<tr class="separator:a63146698c65611528ed462458608594c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd0d04bec24688f589f21a0b496fca04"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#abd0d04bec24688f589f21a0b496fca04">IsRDKObjectInformation</a> (const <a class="el" href="class_o_n___user_data.html">ON_UserData</a> &amp;objectud)</td></tr>
<tr class="separator:abd0d04bec24688f589f21a0b496fca04"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a13aa0b096dbd74286c510d7b0275ca6b"><td class="memItemLeft" align="right" valign="top">ON__UINT64&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a13aa0b096dbd74286c510d7b0275ca6b">m_3dm_file_byte_count</a> = 0</td></tr>
<tr class="separator:a13aa0b096dbd74286c510d7b0275ca6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab35ffd4ce264ac1ee84948c7f9652ab"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#aab35ffd4ce264ac1ee84948c7f9652ab">m_3dm_file_version</a> = 0</td></tr>
<tr class="memdesc:aab35ffd4ce264ac1ee84948c7f9652ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">3dm archive start section information <a href="#aab35ffd4ce264ac1ee84948c7f9652ab">More...</a><br /></td></tr>
<tr class="separator:aab35ffd4ce264ac1ee84948c7f9652ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8ad436fc577f110d0cf431a7abe42b0"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#af8ad436fc577f110d0cf431a7abe42b0">m_3dm_opennurbs_version</a> = 0</td></tr>
<tr class="separator:af8ad436fc577f110d0cf431a7abe42b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa87a9b7fb7c26c0ce80531fea07d66e3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n__3dm_properties.html">ON_3dmProperties</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#aa87a9b7fb7c26c0ce80531fea07d66e3">m_properties</a></td></tr>
<tr class="separator:aa87a9b7fb7c26c0ce80531fea07d66e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c0684530734e4e784d3afd21856d02a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n__3dm_settings.html">ON_3dmSettings</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a3c0684530734e4e784d3afd21856d02a">m_settings</a></td></tr>
<tr class="separator:a3c0684530734e4e784d3afd21856d02a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a858a7ab654f2be782b6fc9f1fbd31736"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___string.html">ON_String</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a858a7ab654f2be782b6fc9f1fbd31736">m_sStartSectionComments</a></td></tr>
<tr class="separator:a858a7ab654f2be782b6fc9f1fbd31736"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0ed68a89b19e326601f1b697eec2060"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_o_n___simple_array.html">ON_SimpleArray</a>&lt; <a class="el" href="class_o_n_x___model___user_data.html">ONX_Model_UserData</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#aa0ed68a89b19e326601f1b697eec2060">m_userdata_table</a></td></tr>
<tr class="separator:aa0ed68a89b19e326601f1b697eec2060"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a4183844ca76b9750e3ea72f3309afe4f"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_o_n_x___model.html#a4183844ca76b9750e3ea72f3309afe4f">ONX_ModelComponentIterator</a></td></tr>
<tr class="separator:a4183844ca76b9750e3ea72f3309afe4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Description: Pedegodgical example of all the things in an OpenNURBS 3dm archive. The openNURBS examples use <a class="el" href="class_o_n_x___model.html">ONX_Model</a> to store the information read from 3dm archives. Please study example_read.cpp for details. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a6a92b0d0bd753cc0c52c468a68effdfc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a92b0d0bd753cc0c52c468a68effdfc">&#9670;&nbsp;</a></span>ONX_Model()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ONX_Model::ONX_Model </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a85cf818003d0d8fe1c66ff221ede042f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a85cf818003d0d8fe1c66ff221ede042f">&#9670;&nbsp;</a></span>~ONX_Model()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual ONX_Model::~ONX_Model </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a4146edad82268bc815ce500fca490f5b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4146edad82268bc815ce500fca490f5b">&#9670;&nbsp;</a></span>ActiveAndDeletedComponentCount()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned int ONX_Model::ActiveAndDeletedComponentCount </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_o_n___model_component.html#a2977d69091b4952cc19b0189a28a0eac">ON_ModelComponent::Type</a>&#160;</td>
<td class="paramname"><em>component_type</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns: Number of active and deleted components. Count does not include system components. </p>
</div>
</div>
<a id="abbb885e1a9dcb34b9de487d02b838d12"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abbb885e1a9dcb34b9de487d02b838d12">&#9670;&nbsp;</a></span>ActiveComponentCount()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned int ONX_Model::ActiveComponentCount </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_o_n___model_component.html#a2977d69091b4952cc19b0189a28a0eac">ON_ModelComponent::Type</a>&#160;</td>
<td class="paramname"><em>component_type</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns: Number of active components. Count does not include system components. </p>
</div>
</div>
<a id="aab263492baae183368b4deccd1b213fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab263492baae183368b4deccd1b213fd">&#9670;&nbsp;</a></span>AddDefaultDimensionStyle()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int ONX_Model::AddDefaultDimensionStyle </td>
<td>(</td>
<td class="paramtype">const wchar_t *&#160;</td>
<td class="paramname"><em>dimension_style_name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">ON::LengthUnitSystem&#160;</td>
<td class="paramname"><em>length_unit_system</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>model_tolerance</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Description: Easy way to add a default dimension style to the model. Parameters: dimension_style_name - [in] can be nullptr or empty length_unit_system - [in] If ON::LengthUnitSystem::Unset, then settings length unit system is used. tolerance - [in] If not &gt; 0, then settings tolerance is used. Returns: The default dimension style's index (&gt;=0) is returned. </p>
</div>
</div>
<a id="a86ed58f0f7e770ebe3cbd4d326ba7a03"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a86ed58f0f7e770ebe3cbd4d326ba7a03">&#9670;&nbsp;</a></span>AddDefaultLayer()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int ONX_Model::AddDefaultLayer </td>
<td>(</td>
<td class="paramtype">const wchar_t *&#160;</td>
<td class="paramname"><em>layer_name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_o_n___color.html">ON_Color</a>&#160;</td>
<td class="paramname"><em>layer_color</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Description: Easy way to add a default layer to the model. Properties: layer_name - [in] can be nullptr or empty. layer_color - [in] can be <a class="el" href="class_o_n___color.html#a54c9448a0e7a53032cdb7f111163aca9" title="0xFFFFFFFFu ">ON_Color::UnsetColor</a> Returns: The default layer's index (&gt;=0) is returned. </p>
</div>
</div>
<a id="a3413c847ed8fad685ccd709322ddf648"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3413c847ed8fad685ccd709322ddf648">&#9670;&nbsp;</a></span>AddLayer()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int ONX_Model::AddLayer </td>
<td>(</td>
<td class="paramtype">const wchar_t *&#160;</td>
<td class="paramname"><em>layer_name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_o_n___color.html">ON_Color</a>&#160;</td>
<td class="paramname"><em>layer_color</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Description: Easy way to add a layer to the model. Returns: If layer_name is valid, the layer's index (&gt;=0) is returned. Otherwise, ON_UNSET_INT_INDEX is returned. </p>
</div>
</div>
<a id="a32a3474b62b5ad318120be19f05a8be4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a32a3474b62b5ad318120be19f05a8be4">&#9670;&nbsp;</a></span>AddManagedModelComponent() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::AddManagedModelComponent </td>
<td>(</td>
<td class="paramtype">class <a class="el" href="class_o_n___model_component.html">ON_ModelComponent</a> *&#160;</td>
<td class="paramname"><em>managed_model_component</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>bResolveIdAndNameConflicts</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Description: Add a managed model component (<a class="el" href="class_o_n___layer.html">ON_Layer</a>, <a class="el" href="class_o_n___dim_style.html">ON_DimStyle</a>, ...) to this model.</p>
<p>managed_model_component - [in] managed_model_component must be created by operator new and on the heap. It will be deleted when the model and last <a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> are destroyed.</p>
<p>bResolveIdAndNameConflicts - [in] If bResolveIdAndNameConflicts is false, then model_component.Id() must be non-nil and not used in this model and model_component.Name() must be correctly set. If bResolveIdAndNameConflicts is true, then id and name will be modified as needed in managed_model_component, the model, and the manifest.</p>
<p>Returns: A reference to the added model component. If the reference is empty (ON_ModelComponent::IsEmpty() is true) then the input was not valid. </p>
</div>
</div>
<a id="a11f2c3e86cb8a728a4abcbec7aeded9d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a11f2c3e86cb8a728a4abcbec7aeded9d">&#9670;&nbsp;</a></span>AddManagedModelComponent() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::AddManagedModelComponent </td>
<td>(</td>
<td class="paramtype">class <a class="el" href="class_o_n___model_component.html">ON_ModelComponent</a> *&#160;</td>
<td class="paramname"><em>managed_model_component</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a4709866cabf9868469b1c5b2c2855915"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4709866cabf9868469b1c5b2c2855915">&#9670;&nbsp;</a></span>AddManagedModelGeometryComponent() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::AddManagedModelGeometryComponent </td>
<td>(</td>
<td class="paramtype">class <a class="el" href="class_o_n___object.html">ON_Object</a> *&#160;</td>
<td class="paramname"><em>managed_geometry_object</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">class <a class="el" href="class_o_n__3dm_object_attributes.html">ON_3dmObjectAttributes</a> *&#160;</td>
<td class="paramname"><em>managed_attributes</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>bResolveIdAndNameConflicts</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Description: Add an copy of the model_geometry and attrbutes to this model.</p>
<p>Parameters: managed_geometry_object - [in] managed_geometry_object must point to an instance geometric object (curve, surface, brep, mesh, points, ...), a render light, an annotation object, or a detail object created by operator new and on the heap. It will be deleted when the this <a class="el" href="class_o_n_x___model.html">ONX_Model</a> and the last <a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> are destroyed.</p>
<p>managed_attributes - [in] managed_attributes should be nullptr or point to an instance created by operator new and on the heap. It will be deleted when the this <a class="el" href="class_o_n_x___model.html">ONX_Model</a> and the last <a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> are destroyed. <br />
bResolveIdAndNameConflicts - [in] If bResolveIdAndNameConflicts is false, then managed_attributes must be nullptr or managed_attributes-&gt;m_uuid must be non-nil and not used in this model. If bResolveIdAndNameConflicts is true, then id will be modified as needed.</p>
<p>Returns: A reference to the added model component. If the reference is empty (ON_ModelComponent::IsEmpty() is true) then the input was not valid. </p>
</div>
</div>
<a id="a09f77289c75e33d25e4c26b453554d37"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a09f77289c75e33d25e4c26b453554d37">&#9670;&nbsp;</a></span>AddManagedModelGeometryComponent() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::AddManagedModelGeometryComponent </td>
<td>(</td>
<td class="paramtype">class <a class="el" href="class_o_n___object.html">ON_Object</a> *&#160;</td>
<td class="paramname"><em>managed_geometry_object</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">class <a class="el" href="class_o_n__3dm_object_attributes.html">ON_3dmObjectAttributes</a> *&#160;</td>
<td class="paramname"><em>managed_attributes</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a2050e91080663a01d30d153a4a69d7f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2050e91080663a01d30d153a4a69d7f0">&#9670;&nbsp;</a></span>AddModelComponent() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::AddModelComponent </td>
<td>(</td>
<td class="paramtype">const class <a class="el" href="class_o_n___model_component.html">ON_ModelComponent</a> &amp;&#160;</td>
<td class="paramname"><em>model_component</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>bResolveIdAndNameConflicts</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Description: Add an copy of a model_compoent to this model. model_component - [in] A copy of model_component is added to this model. The index, id, and name of the copied component are set the the model values (<a class="el" href="class_o_n_x___model.html#a70eba676014cc0e52d093a8e4206eb16">Manifest()</a> "Manifest" index, name, and id).</p>
<p>bResolveIdAndNameConflicts - [in] If bResolveIdAndNameConflicts is false, then model_component.Id() must be non-nil and not used in this model and model_component.Name() must be correctly set. If bResolveIdAndNameConflicts is true, then id and name will be modified as needed in the model and manifest.</p>
<p>Returns: A reference to the added model component. If the reference is empty (ON_ModelComponent::IsEmpty() is true) then the input was not valid. </p>
</div>
</div>
<a id="a1e79744209d8e692b28951aa062d8969"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e79744209d8e692b28951aa062d8969">&#9670;&nbsp;</a></span>AddModelComponent() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::AddModelComponent </td>
<td>(</td>
<td class="paramtype">const class <a class="el" href="class_o_n___model_component.html">ON_ModelComponent</a> &amp;&#160;</td>
<td class="paramname"><em>model_component</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a3dc95c7ef9ca6489b0eca766de21c012"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3dc95c7ef9ca6489b0eca766de21c012">&#9670;&nbsp;</a></span>AddModelComponentForExperts()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::AddModelComponentForExperts </td>
<td>(</td>
<td class="paramtype">class <a class="el" href="class_o_n___model_component.html">ON_ModelComponent</a> *&#160;</td>
<td class="paramname"><em>model_component</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>bManagedComponent</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>bResolveIdAndNameConflicts</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>bUpdateComponentIdentification</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Description: Add a model component to this model and control how the model_component instance is managed.</p>
<p>model_component - [in] An <a class="el" href="class_o_n___model_component.html">ON_ModelComponent</a> created on the heap by calling new X where X is derived from <a class="el" href="class_o_n___model_component.html">ON_ModelComponent</a>.</p>
<p>bManagedComponent - [in] If bManagedComponent is true, then ~ONX_Model will delete the component. If bManagedComponent is false, then you are responsible for insuring the component exists past the desctruction of this <a class="el" href="class_o_n_x___model.html">ONX_Model</a>.</p>
<p>bResolveIdAndNameConflicts - [in] If bResolveIdAndNameConflicts is false, then model_component.Id() must be non-nil and not used in this model and model_component.Name() must be correctly set. If bResolveIdAndNameConflicts is true, then id and name will be modified as needed.</p>
<p>bUpdateComponentIdentification - [in] The model_component Index(), Id(), and Name() values are set to match the ones used in the model (<a class="el" href="class_o_n_x___model.html#a70eba676014cc0e52d093a8e4206eb16">Manifest()</a> "Manifest" values.)</p>
<p>Returns: A reference to the added model component. If the reference is empty (<a class="el" href="class_o_n___model_component_reference.html#a899eb62ff401aba716cf9e83cdb0245e">ON_ModelComponentReference::IsEmpty()</a> is true), then the input was not valid and the model component was not added. </p>
</div>
</div>
<a id="a478fe8f56e6f7933797723416950466d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a478fe8f56e6f7933797723416950466d">&#9670;&nbsp;</a></span>AddModelGeometryComponent() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::AddModelGeometryComponent </td>
<td>(</td>
<td class="paramtype">const class <a class="el" href="class_o_n___object.html">ON_Object</a> *&#160;</td>
<td class="paramname"><em>geometry_object</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const class <a class="el" href="class_o_n__3dm_object_attributes.html">ON_3dmObjectAttributes</a> *&#160;</td>
<td class="paramname"><em>attributes</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>bResolveIdAndNameConflicts</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Description: Add an copy of the model_geometry and attrbutes to this model.</p>
<p>Parameters: geometry_object - [in] geometry_object must point to a geometric object (curve, surface, brep, mesh, points, ...), a render light, an annotation object, or a detail object. A copy of geometry_object is added to and managed by this model. attributes - [in] nullptr if not available. A copy of attributes is added to and managed by this model.</p>
<p>bResolveIdAndNameConflicts - [in] If bResolveIdAndNameConflicts is false, then attributes must be nullptr or attributes-&gt;m_uid must be non-nil and not used in this model. If bResolveIdAndNameConflicts is true, then id will be modified as needed.</p>
<p>Returns: A reference to the added model component. If the reference is empty (ON_ModelComponent::IsEmpty() is true) then the input was not valid. </p>
</div>
</div>
<a id="a6dd1f2fef0a3af45cf1b67af4d854d8f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6dd1f2fef0a3af45cf1b67af4d854d8f">&#9670;&nbsp;</a></span>AddModelGeometryComponent() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::AddModelGeometryComponent </td>
<td>(</td>
<td class="paramtype">const class <a class="el" href="class_o_n___object.html">ON_Object</a> *&#160;</td>
<td class="paramname"><em>geometry_object</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const class <a class="el" href="class_o_n__3dm_object_attributes.html">ON_3dmObjectAttributes</a> *&#160;</td>
<td class="paramname"><em>attributes</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="aa6862aa32782d6c347fb6615f3a49799"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa6862aa32782d6c347fb6615f3a49799">&#9670;&nbsp;</a></span>AddModelGeometryComponentForExperts()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::AddModelGeometryComponentForExperts </td>
<td>(</td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>bManageGeometry</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">class <a class="el" href="class_o_n___object.html">ON_Object</a> *&#160;</td>
<td class="paramname"><em>geometry_object</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>bManageAttributes</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">class <a class="el" href="class_o_n__3dm_object_attributes.html">ON_3dmObjectAttributes</a> *&#160;</td>
<td class="paramname"><em>attributes</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>bResolveIdAndNameConflicts</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Description: Add geometry and attibutes to this model and control how the instances are managed.</p>
<p>Parameters: bManageGeometry - [in] If true, geometry_object should point to an instance created by operator new and on the heap. It will be deleted when the this <a class="el" href="class_o_n_x___model.html">ONX_Model</a> and the last <a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> are destroyed. If false, the expert caller is carefully managing the instance and memory to insure model_geometry is a valid instance while this <a class="el" href="class_o_n_x___model.html">ONX_Model</a> and any <a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> are active.</p>
<p>geometry_object - [in] geometry_object should point to a geometric object (curve, surface, brep, mesh, points, ...), a render light, an annotation object, or a detail object.</p>
<p>bManageAttributes - [in] If true, attributes should be nullptr or point to an instance created by operator new and on the heap. It will be deleted when the this <a class="el" href="class_o_n_x___model.html">ONX_Model</a> and the last <a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> are destroyed. If false, the expert caller is carefully managing the instance and memory to insure attributes is a valid instance while this <a class="el" href="class_o_n_x___model.html">ONX_Model</a> and and <a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> are active.</p>
<p>attributes - [in] nullptr if not avaiable.</p>
<p>bResolveIdAndNameConflicts - [in] If bResolveIdAndNameConflicts is false, then attributes must be nullptr or attributes-&gt;m_uid must be non-nil and not used in this model. If bResolveIdAndNameConflicts is true, then id will be modified as needed.</p>
<p>Returns: A reference to the added model component. If the reference is empty (ON_ModelComponent::IsEmpty() is true) then the input was not valid. </p>
</div>
</div>
<a id="ae8ff6c4dc08a3f25657c9173f7f856b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae8ff6c4dc08a3f25657c9173f7f856b7">&#9670;&nbsp;</a></span>ComponentFromId()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::ComponentFromId </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_o_n___model_component.html#a2977d69091b4952cc19b0189a28a0eac">ON_ModelComponent::Type</a>&#160;</td>
<td class="paramname"><em>component_type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="struct_o_n___u_u_i_d__struct.html">ON_UUID</a>&#160;</td>
<td class="paramname"><em>component_model_id</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a795739fff065ec06dcf53f8a60f49a52"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a795739fff065ec06dcf53f8a60f49a52">&#9670;&nbsp;</a></span>ComponentFromIndex()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::ComponentFromIndex </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_o_n___model_component.html#a2977d69091b4952cc19b0189a28a0eac">ON_ModelComponent::Type</a>&#160;</td>
<td class="paramname"><em>component_type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>component_model_index</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a676b5889af2536a13156631f5a5220a2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a676b5889af2536a13156631f5a5220a2">&#9670;&nbsp;</a></span>ComponentFromName()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::ComponentFromName </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_o_n___model_component.html#a2977d69091b4952cc19b0189a28a0eac">ON_ModelComponent::Type</a>&#160;</td>
<td class="paramname"><em>component_type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="struct_o_n___u_u_i_d__struct.html">ON_UUID</a>&#160;</td>
<td class="paramname"><em>component_parent_id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const wchar_t *&#160;</td>
<td class="paramname"><em>component_model_name</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="afa5bbbdc3a2a3226dde2eed678cdfa5f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa5bbbdc3a2a3226dde2eed678cdfa5f">&#9670;&nbsp;</a></span>ComponentFromNameHash()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::ComponentFromNameHash </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_o_n___model_component.html#a2977d69091b4952cc19b0189a28a0eac">ON_ModelComponent::Type</a>&#160;</td>
<td class="paramname"><em>component_type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="class_o_n___name_hash.html">ON_NameHash</a> &amp;&#160;</td>
<td class="paramname"><em>component_model_name_hash</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="aad4ee61b3f9801389299ecf0823f8011"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aad4ee61b3f9801389299ecf0823f8011">&#9670;&nbsp;</a></span>ComponentFromUnsignedIndex()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::ComponentFromUnsignedIndex </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_o_n___model_component.html#a2977d69091b4952cc19b0189a28a0eac">ON_ModelComponent::Type</a>&#160;</td>
<td class="paramname"><em>component_type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned int&#160;</td>
<td class="paramname"><em>component_model_index</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ab0d3fefe2a2ad8f700fe13518b601b85"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab0d3fefe2a2ad8f700fe13518b601b85">&#9670;&nbsp;</a></span>ComponentIndexLimit()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned int ONX_Model::ComponentIndexLimit </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_o_n___model_component.html#a2977d69091b4952cc19b0189a28a0eac">ON_ModelComponent::Type</a>&#160;</td>
<td class="paramname"><em>component_type</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a209a4b123b3a0ecdd2271188508fe28b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a209a4b123b3a0ecdd2271188508fe28b">&#9670;&nbsp;</a></span>ContentHash()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___s_h_a1___hash.html">ON_SHA1_Hash</a> ONX_Model::ContentHash </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns: A SHA-1 hash of the model's content. If two models have identical content, then the have equal <a class="el" href="class_o_n_x___model.html#a209a4b123b3a0ecdd2271188508fe28b">ContentHash()</a> values. </p>
</div>
</div>
<a id="adf131d763c5b6c3a5fb0a73943a08d30"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf131d763c5b6c3a5fb0a73943a08d30">&#9670;&nbsp;</a></span>CurrentDimensionStyle()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::CurrentDimensionStyle </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns: Current dimension style = DimensionStyleFromId(CurrentDimensionStyleId()) </p>
</div>
</div>
<a id="a4f13d68bf15581775d5cf6417b38f518"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f13d68bf15581775d5cf6417b38f518">&#9670;&nbsp;</a></span>CurrentDimensionStyleId()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_o_n___u_u_i_d__struct.html">ON_UUID</a> ONX_Model::CurrentDimensionStyleId </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns: Id of the current dimension style or nil if the current style is not set or not in this model. </p>
</div>
</div>
<a id="a360880d524fde24ca4b9fce0acc32ba7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a360880d524fde24ca4b9fce0acc32ba7">&#9670;&nbsp;</a></span>DefaultDimensionStyle()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::DefaultDimensionStyle </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns: A system dimension style that is the default for this model and is used when a referenced dimension style is missing from this model. </p>
</div>
</div>
<a id="afa92692bf4908a0703cb92592fb7c946"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa92692bf4908a0703cb92592fb7c946">&#9670;&nbsp;</a></span>DeletedComponentCount()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned int ONX_Model::DeletedComponentCount </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_o_n___model_component.html#a2977d69091b4952cc19b0189a28a0eac">ON_ModelComponent::Type</a>&#160;</td>
<td class="paramname"><em>component_type</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns: Number of deleted components. </p>
</div>
</div>
<a id="a6098289547298339cc91c8e001fb19b5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6098289547298339cc91c8e001fb19b5">&#9670;&nbsp;</a></span>DimensionStyleFromId()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::DimensionStyleFromId </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_o_n___u_u_i_d__struct.html">ON_UUID</a>&#160;</td>
<td class="paramname"><em>dimension_styleid</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ad76c1a34e48c658672937b3ea1035490"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad76c1a34e48c658672937b3ea1035490">&#9670;&nbsp;</a></span>DimensionStyleFromIndex()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::DimensionStyleFromIndex </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>dimension_style_index</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Description: Get a dimension style from its model index. Parameters: dimension_style_model_index - [in] Returns: An <a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> to the dimension style. Remarks: Model index and <a class="el" href="class_o_n_x___model.html#a70eba676014cc0e52d093a8e4206eb16">Manifest()</a> manifest item index are the same. </p>
</div>
</div>
<a id="ab62ccd442ddd9ccb6a1b12c984ff1add"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab62ccd442ddd9ccb6a1b12c984ff1add">&#9670;&nbsp;</a></span>DimensionStyleFromName()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::DimensionStyleFromName </td>
<td>(</td>
<td class="paramtype">const wchar_t *&#160;</td>
<td class="paramname"><em>dimension_style_name</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a585f4c4d60afa010dcfb94d8210d035d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a585f4c4d60afa010dcfb94d8210d035d">&#9670;&nbsp;</a></span>DimensionStyleFromNameHash()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::DimensionStyleFromNameHash </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_o_n___name_hash.html">ON_NameHash</a>&#160;</td>
<td class="paramname"><em>dimension_style_name_hash</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a4c8c9d0418b85859d464267f26d8e128"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4c8c9d0418b85859d464267f26d8e128">&#9670;&nbsp;</a></span>DimensionStyleWithFontCharacteristics()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::DimensionStyleWithFontCharacteristics </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_o_n___font.html">ON_Font</a> &amp;&#160;</td>
<td class="paramname"><em>font_characteristics</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>model_space_text_scale</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Description: Find or create a dimension style with the specified font characteristics. </p>
</div>
</div>
<a id="a9dde348f8b2f7d17994689bf374db588"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9dde348f8b2f7d17994689bf374db588">&#9670;&nbsp;</a></span>Dump()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ONX_Model::Dump </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_o_n___text_log.html">ON_TextLog</a> &amp;&#160;</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>text dump of entire model </p>
<p>END model document level user string tools</p>
<p>BEGIN model text dump tools </p>
</div>
</div>
<a id="af2a2e2295b616de76d8736db52413954"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2a2e2295b616de76d8736db52413954">&#9670;&nbsp;</a></span>DumpComponentList()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ONX_Model::DumpComponentList </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_o_n___model_component.html#a2977d69091b4952cc19b0189a28a0eac">ON_ModelComponent::Type</a>&#160;</td>
<td class="paramname"><em>component_type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_o_n___text_log.html">ON_TextLog</a> &amp;&#160;</td>
<td class="paramname"><em>text_log</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a887f6d85cb01d77a2ebe9d032eba8461"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a887f6d85cb01d77a2ebe9d032eba8461">&#9670;&nbsp;</a></span>DumpComponentLists()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ONX_Model::DumpComponentLists </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_o_n___text_log.html">ON_TextLog</a> &amp;&#160;</td>
<td class="paramname"><em>text_log</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns: A text dump of all component lists. </p>
</div>
</div>
<a id="ad6acc104cffba14fd92a39d1978df7f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad6acc104cffba14fd92a39d1978df7f1">&#9670;&nbsp;</a></span>DumpSummary()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ONX_Model::DumpSummary </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_o_n___text_log.html">ON_TextLog</a> &amp;&#160;</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>text dump of model properties and settings </p>
</div>
</div>
<a id="a0189b584f46ace6f8a18fe2cfd10d2a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0189b584f46ace6f8a18fe2cfd10d2a5">&#9670;&nbsp;</a></span>DumpUserDataTable()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ONX_Model::DumpUserDataTable </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_o_n___text_log.html">ON_TextLog</a> &amp;&#160;</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>text dump of user data table </p>
</div>
</div>
<a id="ad09eb0e1818c8a7bcf61f6f0ad1fa42d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad09eb0e1818c8a7bcf61f6f0ad1fa42d">&#9670;&nbsp;</a></span>FirstDimensionStyleFromFont()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::FirstDimensionStyleFromFont </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_o_n___font.html">ON_Font</a> *&#160;</td>
<td class="paramname"><em>font</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>model_space_text_scale</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>bIgnoreSystemDimStyles</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Parameters: font - [in] model_space_text_scale - [in] If model_space_text_scale &gt; 0, then the DimScale() must be equal to model_space_text_scale. bIgnoreSystemDimStyles - [in] Returns: The first dimension style with the specified font. Remarks: dimension styles with a non-nil parent id are ignored. </p>
</div>
</div>
<a id="a8cb8d7542e7a5edc3d7c6725b8b5915e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8cb8d7542e7a5edc3d7c6725b8b5915e">&#9670;&nbsp;</a></span>FirstDimensionStyleFromManagedFontSerialNumber()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::FirstDimensionStyleFromManagedFontSerialNumber </td>
<td>(</td>
<td class="paramtype">unsigned int&#160;</td>
<td class="paramname"><em>managed_font_serial_number</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>model_space_text_scale</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>bIgnoreSystemDimStyles</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Parameters: managed_font_serial_number - [in] model_space_text_scale - [in] If model_space_text_scale &gt; 0, then the DimScale() must be equal to model_space_text_scale. bIgnoreSystemDimStyles - [in] Returns: The first dimension style with the specified font. Remarks: dimension styles with a non-nil parent id are ignored. </p>
</div>
</div>
<a id="ab6d9bf6babe5b6509db6228a93df6446"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab6d9bf6babe5b6509db6228a93df6446">&#9670;&nbsp;</a></span>GetDocumentUserString()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ONX_Model::GetDocumentUserString </td>
<td>(</td>
<td class="paramtype">const wchar_t *&#160;</td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_o_n__w_string.html">ON_wString</a> &amp;&#160;</td>
<td class="paramname"><em>string_value</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Description: Get user string from the document. Parameters: key - [in] id used to retrieve the string. string_value - [out] Returns: True if a string with id was found. </p>
</div>
</div>
<a id="aba39627cf25f07fa036b39e9a3f96ee6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba39627cf25f07fa036b39e9a3f96ee6">&#9670;&nbsp;</a></span>GetDocumentUserStrings()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int ONX_Model::GetDocumentUserStrings </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_o_n___class_array.html">ON_ClassArray</a>&lt; <a class="el" href="class_o_n___user_string.html">ON_UserString</a> &gt; &amp;&#160;</td>
<td class="paramname"><em>user_strings</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Description: Get a list of all user strings in the document. Parameters: user_strings - [out] user strings are appended to this list. Returns: Number of elements appended to the user_strings list. </p>
</div>
</div>
<a id="ab52f4f2ee2c23b6990343b1327da20a7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab52f4f2ee2c23b6990343b1327da20a7">&#9670;&nbsp;</a></span>GetRDKDocumentInformation()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static bool ONX_Model::GetRDKDocumentInformation </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_o_n_x___model___user_data.html">ONX_Model_UserData</a> &amp;&#160;</td>
<td class="paramname"><em>docud</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_o_n__w_string.html">ON_wString</a> &amp;&#160;</td>
<td class="paramname"><em>rdk_xml_document_data</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a38aa996ae9bdb37446b075fe2aef83d1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a38aa996ae9bdb37446b075fe2aef83d1">&#9670;&nbsp;</a></span>GetRDKObjectInformation()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static bool ONX_Model::GetRDKObjectInformation </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_o_n___object.html">ON_Object</a> &amp;&#160;</td>
<td class="paramname"><em>object</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_o_n__w_string.html">ON_wString</a> &amp;&#160;</td>
<td class="paramname"><em>rdk_xml_object_data</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="acf40a90fd16f9fe7f4de273a0c92ae59"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf40a90fd16f9fe7f4de273a0c92ae59">&#9670;&nbsp;</a></span>ImageFromFileContent()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::ImageFromFileContent </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_o_n___content_hash.html">ON_ContentHash</a> &amp;&#160;</td>
<td class="paramname"><em>image_file_content_hash</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a6c957922a31cb10a52810ce5bcacc0e3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6c957922a31cb10a52810ce5bcacc0e3">&#9670;&nbsp;</a></span>ImageFromFileFullPath()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::ImageFromFileFullPath </td>
<td>(</td>
<td class="paramtype">const wchar_t *&#160;</td>
<td class="paramname"><em>image_file_full_path_name</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a89dcfb4433a50fa31fc18e3917cab7e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a89dcfb4433a50fa31fc18e3917cab7e2">&#9670;&nbsp;</a></span>ImageFromFileReference()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::ImageFromFileReference </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_o_n___file_reference.html">ON_FileReference</a> &amp;&#160;</td>
<td class="paramname"><em>file_reference</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="aa83f34216fb486dcf8966f6eb59ecc0c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa83f34216fb486dcf8966f6eb59ecc0c">&#9670;&nbsp;</a></span>ImageFromId()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::ImageFromId </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_o_n___u_u_i_d__struct.html">ON_UUID</a>&#160;</td>
<td class="paramname"><em>image_id</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ab978105b119ec8a162116d6262c8c0a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab978105b119ec8a162116d6262c8c0a8">&#9670;&nbsp;</a></span>ImageFromIndex()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::ImageFromIndex </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>image_model_index</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Description: Get an image from its model index. Parameters: image_model_index - [in] Returns: An <a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> to the image. Remarks: Model index and <a class="el" href="class_o_n_x___model.html#a70eba676014cc0e52d093a8e4206eb16">Manifest()</a> manifest item index are the same. </p>
</div>
</div>
<a id="a58b4490125175d0fb836b46e53897637"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a58b4490125175d0fb836b46e53897637">&#9670;&nbsp;</a></span>IncrementalReadBegin()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ONX_Model::IncrementalReadBegin </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_o_n___binary_archive.html">ON_BinaryArchive</a> &amp;&#160;</td>
<td class="paramname"><em>archive</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>bManageComponents</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned int&#160;</td>
<td class="paramname"><em>table_filter</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_o_n___text_log.html">ON_TextLog</a> *&#160;</td>
<td class="paramname"><em>error_log</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Description: Reads everything up to the object table.</p>
<p>Parameters: archive - [in] archive to read from bManageComponents - [in] true: The <a class="el" href="class_o_n_x___model.html">ONX_Model</a> destructor will delete the model components created by this function. false: The caller must delete the <a class="el" href="class_o_n___model_component.html">ON_ModelComponent</a> components after the <a class="el" href="class_o_n_x___model.html">ONX_Model</a> is destroyed. table_filter - [in] If table_filter is zero, then everything in the archive before the model object table is read. Otherwise the bits in table_filter identify what tables should be read. The bits are defined by the ON_BInaryArchive::table_type enum. error_log - [out] any archive reading errors are logged here. pass nullptr if you don't want to log errors</p>
<p>Returns: If the input is valid and everything before the model object table is successfully read, then true is returned. Otherwise false is returned.</p>
<p>Example:</p>
<p>/ for ASCII file names const char* sFileName = ....; FILE* fp = ON::OpenFile( sFileName, "rb");</p>
<p>/ for UNICODE file names const wchar_t* wsFileName = ....; FILE* fp = ON::OpenFile( wsFileName, L"rb");</p>
<p>bool bModelRead = false; bool bModelIsValid = false;</p>
<p><a class="el" href="class_o_n___text_log.html">ON_TextLog</a> error_log;</p>
<p>if ( 0 != fp ) { <a class="el" href="class_o_n___binary_file.html">ON_BinaryFile</a> archive( ON::archive_mode::read3dm, fp ); <a class="el" href="class_o_n_x___model.html">ONX_Model</a> model;</p>
<p>/ Read settings, layer information, and other tables / with information that is referenced by model object / attributes. bModelRead = model.IncrementalReadBegin( archive, error_log );</p>
<p>if ( bModelRead ) { object_filter = ON::mesh_object ///&lt; read meshes | ON::curve_object ///&lt; and curves ; for(;;) { / read the next model object ON_ModelGeometryComponent* pModelObject = model.IncrementalReadModelObject(object_filter,0); if ( 0 == pModelObject ) break;</p>
<p>... ///&lt; work with this model object</p>
<p>/ done with this object. pModelObject = 0; model.m_object_table.Remove(); } <br />
} ON::CloseFile( fp ); } See Also: ONX_Model::IsValid <a class="el" href="class_o_n_x___model.html#aeb080afd3f41d09c76eb7b1c8aab21da">ONX_Model::Write</a> ONX_Model::m_crc_error_count </p>
</div>
</div>
<a id="ab096da2ee6eafb6ba15c67e58f3a2cd7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab096da2ee6eafb6ba15c67e58f3a2cd7">&#9670;&nbsp;</a></span>IncrementalReadFinish()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ONX_Model::IncrementalReadFinish </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_o_n___binary_archive.html">ON_BinaryArchive</a> &amp;&#160;</td>
<td class="paramname"><em>archive</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>bManageComponents</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned int&#160;</td>
<td class="paramname"><em>table_filter</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_o_n___text_log.html">ON_TextLog</a> *&#160;</td>
<td class="paramname"><em>error_log</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Description: Reads everything up to the object table.</p>
<p>Parameters: archive - [in] archive to read from bManageComponents - [in] true: The <a class="el" href="class_o_n_x___model.html">ONX_Model</a> destructor will delete the model components created by this function. false: The caller must delete the <a class="el" href="class_o_n___model_component.html">ON_ModelComponent</a> components after the <a class="el" href="class_o_n_x___model.html">ONX_Model</a> is destroyed. table_filter - [in] If table_filter is zero, then everything in the archive before the model object table is read. Otherwise the bits in table_filter identify what tables should be read. The bits are defined by the ON_BInaryArchive::table_type enum. error_log - [out] any archive reading errors are logged here. pass nullptr if you don't want to log errors</p>
<p>Returns: If the input is valid and everything before the model object table is successfully read, then true is returned. Otherwise false is returned.</p>
<p>See Also: ONX_Model::IsValid <a class="el" href="class_o_n_x___model.html#aeb080afd3f41d09c76eb7b1c8aab21da">ONX_Model::Write</a> ONX_Model::m_crc_error_count </p>
</div>
</div>
<a id="a2b6b57d82e84fd6389571496aeda481f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b6b57d82e84fd6389571496aeda481f">&#9670;&nbsp;</a></span>IncrementalReadModelGeometry()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ONX_Model::IncrementalReadModelGeometry </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_o_n___binary_archive.html">ON_BinaryArchive</a> &amp;&#160;</td>
<td class="paramname"><em>archive</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>bManageModelGeometryComponent</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>bManageGeometry</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>bManageAttributes</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned int&#160;</td>
<td class="paramname"><em>model_object_type_filter</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> &amp;&#160;</td>
<td class="paramname"><em>model_geometry_reference</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Description: Reads the next item in the model geometry table.</p>
<p>Parameters: archive - [in] bManageModelGeometryComponent - [in] true: The <a class="el" href="class_o_n_x___model.html">ONX_Model</a> destructor will delete the <a class="el" href="class_o_n___model_geometry_component.html">ON_ModelGeometryComponent</a> components created by this function. false: The caller must delete the <a class="el" href="class_o_n___model_geometry_component.html">ON_ModelGeometryComponent</a> components after the <a class="el" href="class_o_n_x___model.html">ONX_Model</a> is destroyed. bManageGeometry - [in] true: The <a class="el" href="class_o_n___model_geometry_component.html">ON_ModelGeometryComponent</a> destructor will delete the <a class="el" href="class_o_n___geometry.html">ON_Geometry</a> classes created by this function. false: The caller must delete the <a class="el" href="class_o_n___geometry.html">ON_Geometry</a> classes after the <a class="el" href="class_o_n_x___model.html">ONX_Model</a> and <a class="el" href="class_o_n___model_geometry_component.html">ON_ModelGeometryComponent</a> components are destroyed. bManageAttributes - [in] true: The <a class="el" href="class_o_n___model_geometry_component.html">ON_ModelGeometryComponent</a> destructor will delete the <a class="el" href="class_o_n__3dm_object_attributes.html">ON_3dmObjectAttributes</a> classes created by this function. false: The caller must delete the <a class="el" href="class_o_n__3dm_object_attributes.html">ON_3dmObjectAttributes</a> classes after the <a class="el" href="class_o_n_x___model.html">ONX_Model</a> and <a class="el" href="class_o_n___model_geometry_component.html">ON_ModelGeometryComponent</a> components are destroyed. model_object_type_filter - [in] If model_object_type_filter is not zero, then it is a bitfield filter made by bitwise oring ON::object_type values to select which types of objects will be read from the model object table. model_geometry_reference - [out] A reference to an <a class="el" href="class_o_n___model_geometry_component.html">ON_ModelGeometryComponent</a>. This referenced <a class="el" href="class_o_n___model_geometry_component.html">ON_ModelGeometryComponent</a> component is also added to the <a class="el" href="class_o_n_x___model.html">ONX_Model</a>. Call ONX_Model.RemoveComponent() if you want to discard it before continuing. <br />
Returns: True Succesful. If model_geometry_reference.IsEmpty() is true, then no more geometry objects are available and you should call <a class="el" href="class_o_n_x___model.html#ab096da2ee6eafb6ba15c67e58f3a2cd7">IncrementalReadFinish()</a>. False An error occured and reading should terminate. Remarks: You must call <a class="el" href="class_o_n_x___model.html#a58b4490125175d0fb836b46e53897637">IncrementalReadBegin()</a> before making any calls to IncrementalReadModelObject(). </p>
</div>
</div>
<a id="a63146698c65611528ed462458608594c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63146698c65611528ed462458608594c">&#9670;&nbsp;</a></span>IsRDKDocumentInformation()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static bool ONX_Model::IsRDKDocumentInformation </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_o_n_x___model___user_data.html">ONX_Model_UserData</a> &amp;&#160;</td>
<td class="paramname"><em>docud</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>END model text dump tools</p>
<p>BEGIN Render Development Toolkit (RDK) information </p>
</div>
</div>
<a id="abd0d04bec24688f589f21a0b496fca04"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abd0d04bec24688f589f21a0b496fca04">&#9670;&nbsp;</a></span>IsRDKObjectInformation()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static bool ONX_Model::IsRDKObjectInformation </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_o_n___user_data.html">ON_UserData</a> &amp;&#160;</td>
<td class="paramname"><em>objectud</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ac0bda5583490cb0a95678eea577095c3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac0bda5583490cb0a95678eea577095c3">&#9670;&nbsp;</a></span>LayerFromAttributes()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::LayerFromAttributes </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_o_n__3dm_object_attributes.html">ON_3dmObjectAttributes</a> &amp;&#160;</td>
<td class="paramname"><em>attributes</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a94b758cf04a6d880a59d2c1ffd249299"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a94b758cf04a6d880a59d2c1ffd249299">&#9670;&nbsp;</a></span>LayerFromId()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::LayerFromId </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_o_n___u_u_i_d__struct.html">ON_UUID</a>&#160;</td>
<td class="paramname"><em>layer_model_id</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a24c99d64cd4b1f121610fb04ba2aea18"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a24c99d64cd4b1f121610fb04ba2aea18">&#9670;&nbsp;</a></span>LayerFromIndex()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::LayerFromIndex </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>layer_model_index</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Description: Get a layer from its model index. Parameters: layer_model_index - [in] Returns: An <a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> to the layer. Remarks: Model index and <a class="el" href="class_o_n_x___model.html#a70eba676014cc0e52d093a8e4206eb16">Manifest()</a> manifest item index are the same. </p>
</div>
</div>
<a id="a81a76401fcc725c6caabdea0bce5e231"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a81a76401fcc725c6caabdea0bce5e231">&#9670;&nbsp;</a></span>LayerFromName()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::LayerFromName </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_o_n___u_u_i_d__struct.html">ON_UUID</a>&#160;</td>
<td class="paramname"><em>layer_parent_id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const wchar_t *&#160;</td>
<td class="paramname"><em>layer_name</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ae2f6192f476ada55532ef7dae55d53bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae2f6192f476ada55532ef7dae55d53bc">&#9670;&nbsp;</a></span>LayerFromNameHash()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::LayerFromNameHash </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_o_n___name_hash.html">ON_NameHash</a> &amp;&#160;</td>
<td class="paramname"><em>layer_model_name_hash</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="aa78cb3bc02bad3b6e8cc0a699d3d8c90"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa78cb3bc02bad3b6e8cc0a699d3d8c90">&#9670;&nbsp;</a></span>LinePatternFromAttributes()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::LinePatternFromAttributes </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_o_n__3dm_object_attributes.html">ON_3dmObjectAttributes</a> &amp;&#160;</td>
<td class="paramname"><em>attributes</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Description: Get linetype from object attributes. Parameters: attributes - [in] object attributes. line_pattern - [out] linetype </p>
</div>
</div>
<a id="ae5e3c7e4d8b61e3a51fdebdc258adbf5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae5e3c7e4d8b61e3a51fdebdc258adbf5">&#9670;&nbsp;</a></span>LinePatternFromId()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::LinePatternFromId </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_o_n___u_u_i_d__struct.html">ON_UUID</a>&#160;</td>
<td class="paramname"><em>line_pattern_model_id</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ac21f433ff05a753ffaedf5c323bb6875"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac21f433ff05a753ffaedf5c323bb6875">&#9670;&nbsp;</a></span>LinePatternFromIndex()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::LinePatternFromIndex </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>line_pattern_model_index</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Description: Get a line pattern from its model index. Parameters: line_pattern_model_index - [in] Returns: An <a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> to the line pattern. Remarks: Model index and <a class="el" href="class_o_n_x___model.html#a70eba676014cc0e52d093a8e4206eb16">Manifest()</a> manifest item index are the same. </p>
</div>
</div>
<a id="ad3b0a4357b3dccef93f5fbe972833324"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad3b0a4357b3dccef93f5fbe972833324">&#9670;&nbsp;</a></span>LinePatternFromLayerIndex()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::LinePatternFromLayerIndex </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>layer_index</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a841713cbb7a5a0b21f6f36e16ecd2027"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a841713cbb7a5a0b21f6f36e16ecd2027">&#9670;&nbsp;</a></span>LinePatternFromName()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::LinePatternFromName </td>
<td>(</td>
<td class="paramtype">const wchar_t *&#160;</td>
<td class="paramname"><em>line_pattern_name</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a154b7c66405c7f07d47f155171123e9c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a154b7c66405c7f07d47f155171123e9c">&#9670;&nbsp;</a></span>LinePatternFromNameHash()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::LinePatternFromNameHash </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_o_n___name_hash.html">ON_NameHash</a>&#160;</td>
<td class="paramname"><em>line_pattern_model_name_hash</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a70eba676014cc0e52d093a8e4206eb16"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a70eba676014cc0e52d093a8e4206eb16">&#9670;&nbsp;</a></span>Manifest()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="class_o_n___component_manifest.html">ON_ComponentManifest</a>&amp; ONX_Model::Manifest </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Description: A manifest of every model component in this <a class="el" href="class_o_n_x___model.html">ONX_Model</a>. Remarks: Use the manifest to find model objects from a name, id or index.</p>
<p>The manifest Id, Name, and Index values are values used in the model. These are assigned when a component is added to the <a class="el" href="class_o_n_x___model.html">ONX_Model</a>. When possible the id and name are not changed.</p>
<p>The manifest=model and original component values are different when:</p><ul>
<li>The original component Id or Name was not set and a value was automatically assigned.</li>
<li>The original component Id or Name was not unique and was modified when the component was added to the model.</li>
<li>Generally the original component index differs from the manifest=model component index.</li>
</ul>
<p>The <a class="el" href="class_o_n_x___model.html#a51afd1506f1cd2bafcdbc2ac00045b8c">OriginalToModelMap()</a> can be used to convert original component index and id to the manifest=model index and id.</p>
<p>The <a class="el" href="class_o_n_x___model.html#aafe49f04f022b0d93eac5cc04be2d723">ModelToOriginalMap()</a> can be used to manifest=model index and id to the original component index and id. </p>
</div>
</div>
<a id="a33d23c68bce7a10c2df3787fbdae1ea9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a33d23c68bce7a10c2df3787fbdae1ea9">&#9670;&nbsp;</a></span>ModelContentVersionNumber()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ON__UINT64 ONX_Model::ModelContentVersionNumber </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Description: This number changes every time the content of the <a class="el" href="class_o_n_x___model.html">ONX_Model</a> is modified. </p>
</div>
</div>
<a id="a9909672f71b066ff4b4525c2c1c021db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9909672f71b066ff4b4525c2c1c021db">&#9670;&nbsp;</a></span>ModelGeometryBoundingBox()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___bounding_box.html">ON_BoundingBox</a> ONX_Model::ModelGeometryBoundingBox </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>END model definitions <br />
Returns: Bounding box of every object in m_object_table[]. </p>
</div>
</div>
<a id="abc5853b250259a522f6a5a1036d0d5c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc5853b250259a522f6a5a1036d0d5c5">&#9670;&nbsp;</a></span>ModelGeometryFromId()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_geometry_component.html">ON_ModelGeometryComponent</a> ONX_Model::ModelGeometryFromId </td>
<td>(</td>
<td class="paramtype">unsigned int&#160;</td>
<td class="paramname"><em>model_object_index</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a3ad6f10f8e171938a4e7b6c0fb679b38"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ad6f10f8e171938a4e7b6c0fb679b38">&#9670;&nbsp;</a></span>ModelGeometryFromIndex()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_geometry_component.html">ON_ModelGeometryComponent</a> ONX_Model::ModelGeometryFromIndex </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>model_object_index</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="af970182000306bdb88c4eb2972aeb4d0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af970182000306bdb88c4eb2972aeb4d0">&#9670;&nbsp;</a></span>ModelGeometryFromUnsignedIndex()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_geometry_component.html">ON_ModelGeometryComponent</a> ONX_Model::ModelGeometryFromUnsignedIndex </td>
<td>(</td>
<td class="paramtype">unsigned int&#160;</td>
<td class="paramname"><em>model_object_index</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="aafe49f04f022b0d93eac5cc04be2d723"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aafe49f04f022b0d93eac5cc04be2d723">&#9670;&nbsp;</a></span>ModelToOriginalMap()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="class_o_n___manifest_map.html">ON_ManifestMap</a>&amp; ONX_Model::ModelToOriginalMap </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns: A map from manifest=model index and id to original component index and id. Remarks: <a class="el" href="class_o_n___manifest_map_item.html">ON_ManifestMapItem</a> Source = model-manifest index and id. <a class="el" href="class_o_n___manifest_map_item.html">ON_ManifestMapItem</a> Destination = original component index and id. </p>
</div>
</div>
<a id="a51afd1506f1cd2bafcdbc2ac00045b8c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a51afd1506f1cd2bafcdbc2ac00045b8c">&#9670;&nbsp;</a></span>OriginalToModelMap()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="class_o_n___manifest_map.html">ON_ManifestMap</a>&amp; ONX_Model::OriginalToModelMap </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns: A map from original component index and id to manifest=model index and id. Remarks: <a class="el" href="class_o_n___manifest_map_item.html">ON_ManifestMapItem</a> Source = original component index and id. <a class="el" href="class_o_n___manifest_map_item.html">ON_ManifestMapItem</a> Destination = model-manifest index and id. </p>
</div>
</div>
<a id="a356596cc1d9606d5877fd503f28fbe44"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a356596cc1d9606d5877fd503f28fbe44">&#9670;&nbsp;</a></span>Read() <span class="overload">[1/6]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ONX_Model::Read </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_o_n___binary_archive.html">ON_BinaryArchive</a> &amp;&#160;</td>
<td class="paramname"><em>archive</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned int&#160;</td>
<td class="paramname"><em>table_filter</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned int&#160;</td>
<td class="paramname"><em>model_object_type_filter</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_o_n___text_log.html">ON_TextLog</a> *&#160;</td>
<td class="paramname"><em>error_log</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Description: Reads an openNURBS archive and saves the information in this model Parameters: archive - [in] archive to read from table_filter - [in] If table_filter is zero, then everything in the archive is read. Otherwise the bits in table_filter identify what tables should be read. The bits are defined by the ON_BInaryArchive::table_type enum. model_object_type_filter - [in] If model_object_type_filter is not zero, then it is a bitfield filter made by bitwise oring ON::object_type values to select which types of objects will be read from the model object table. error_log - [out] any archive reading errors are logged here. Returns: true if archive is read with no error. False if errors occur. Error details are logged in error_log. If crc errors are in the archive, then ONX_Model::m_crc_error_count is set to the number of crc errors. Example:</p>
<p>/ for ASCII file names const char* sFileName = ....; FILE* fp = ON::OpenFile( sFileName, "rb");</p>
<p>/ for UNICODE file names const wchar_t* wsFileName = ....; FILE* fp = ON::OpenFile( wsFileName, L"rb");</p>
<p>bool bModelRead = false; bool bModelIsValid = false;</p>
<p><a class="el" href="class_o_n___text_log.html">ON_TextLog</a> error_log; <a class="el" href="class_o_n_x___model.html">ONX_Model</a> model;</p>
<p>if ( 0 != fp ) { <a class="el" href="class_o_n___binary_file.html">ON_BinaryFile</a> archive( ON::archive_mode::read3dm, fp ); bModelRead = model.Read( archive, error_log ); ON::CloseFile( fp ); }</p>
<p>if ( bModelRead ) { bModelIsValid = model.Validate(error_log); }</p>
<p>See Also: ONX_Model::IsValid <a class="el" href="class_o_n_x___model.html#aeb080afd3f41d09c76eb7b1c8aab21da">ONX_Model::Write</a> ONX_Model::m_crc_error_count </p>
</div>
</div>
<a id="afea4fe901b772568deed97d173dca75f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afea4fe901b772568deed97d173dca75f">&#9670;&nbsp;</a></span>Read() <span class="overload">[2/6]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ONX_Model::Read </td>
<td>(</td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>filename</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned int&#160;</td>
<td class="paramname"><em>table_filter</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned int&#160;</td>
<td class="paramname"><em>model_object_type_filter</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_o_n___text_log.html">ON_TextLog</a> *&#160;</td>
<td class="paramname"><em>error_log</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a82033975da492fa0299b4090b439f7f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a82033975da492fa0299b4090b439f7f8">&#9670;&nbsp;</a></span>Read() <span class="overload">[3/6]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ONX_Model::Read </td>
<td>(</td>
<td class="paramtype">const wchar_t *&#160;</td>
<td class="paramname"><em>filename</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned int&#160;</td>
<td class="paramname"><em>table_filter</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned int&#160;</td>
<td class="paramname"><em>model_object_type_filter</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_o_n___text_log.html">ON_TextLog</a> *&#160;</td>
<td class="paramname"><em>error_log</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a115e5c8dd821b204e3d2b00aa67820f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a115e5c8dd821b204e3d2b00aa67820f0">&#9670;&nbsp;</a></span>Read() <span class="overload">[4/6]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ONX_Model::Read </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_o_n___binary_archive.html">ON_BinaryArchive</a> &amp;&#160;</td>
<td class="paramname"><em>archive</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_o_n___text_log.html">ON_TextLog</a> *&#160;</td>
<td class="paramname"><em>error_log</em> = <code>nullptr</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a5157e6c2710708b38883132d3e8cf22b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5157e6c2710708b38883132d3e8cf22b">&#9670;&nbsp;</a></span>Read() <span class="overload">[5/6]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ONX_Model::Read </td>
<td>(</td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>filename</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_o_n___text_log.html">ON_TextLog</a> *&#160;</td>
<td class="paramname"><em>error_log</em> = <code>nullptr</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a74a36f2917ea8f8cfca8d7db009a0ee0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a74a36f2917ea8f8cfca8d7db009a0ee0">&#9670;&nbsp;</a></span>Read() <span class="overload">[6/6]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ONX_Model::Read </td>
<td>(</td>
<td class="paramtype">const wchar_t *&#160;</td>
<td class="paramname"><em>filename</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_o_n___text_log.html">ON_TextLog</a> *&#160;</td>
<td class="paramname"><em>error_log</em> = <code>nullptr</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ab7468a36fda9e04f59acee263e9a618d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab7468a36fda9e04f59acee263e9a618d">&#9670;&nbsp;</a></span>RemoveModelComponent()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::RemoveModelComponent </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_o_n___model_component.html#a2977d69091b4952cc19b0189a28a0eac">ON_ModelComponent::Type</a>&#160;</td>
<td class="paramname"><em>component_type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="struct_o_n___u_u_i_d__struct.html">ON_UUID</a>&#160;</td>
<td class="paramname"><em>component_id</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a4268aa18ffbcc6170b6394443e213711"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4268aa18ffbcc6170b6394443e213711">&#9670;&nbsp;</a></span>RenderLightBoundingBox()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___bounding_box.html">ON_BoundingBox</a> ONX_Model::RenderLightBoundingBox </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns: Bounding box of every render light in m_light_table[]. </p>
</div>
</div>
<a id="a85eb9a76eb976ceebb8a2fd6d11bd45e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a85eb9a76eb976ceebb8a2fd6d11bd45e">&#9670;&nbsp;</a></span>RenderMaterialFromAttributes()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::RenderMaterialFromAttributes </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_o_n__3dm_object_attributes.html">ON_3dmObjectAttributes</a> &amp;&#160;</td>
<td class="paramname"><em>attributes</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a154311447310caa6f49b91ca93173aea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a154311447310caa6f49b91ca93173aea">&#9670;&nbsp;</a></span>RenderMaterialFromId()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::RenderMaterialFromId </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_o_n___u_u_i_d__struct.html">ON_UUID</a>&#160;</td>
<td class="paramname"><em>render_material_id</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a365fe884efd8768d74650901f704da45"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a365fe884efd8768d74650901f704da45">&#9670;&nbsp;</a></span>RenderMaterialFromIndex()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::RenderMaterialFromIndex </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>render_material_index</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a49d57a2f2341bd2951b36524f300da1d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49d57a2f2341bd2951b36524f300da1d">&#9670;&nbsp;</a></span>RenderMaterialFromLayerIndex()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___model_component_reference.html">ON_ModelComponentReference</a> ONX_Model::RenderMaterialFromLayerIndex </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>layer_index</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Description: Get render material from object attributes. Parameters: attributes - [in] object attributes. material - [out] render material </p>
</div>
</div>
<a id="a46986bd8b13949f831acf510f21b21b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a46986bd8b13949f831acf510f21b21b3">&#9670;&nbsp;</a></span>Reset()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ONX_Model::Reset </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a3bbfa27a4b56e454067fb667fba99b3c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3bbfa27a4b56e454067fb667fba99b3c">&#9670;&nbsp;</a></span>SetCurrentDimensionStyleId()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ONX_Model::SetCurrentDimensionStyleId </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_o_n___u_u_i_d__struct.html">ON_UUID</a>&#160;</td>
<td class="paramname"><em>dimension_style_id</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Parameters: dimension_style_id - [in] Id of a dimension style in this model, a system dimension style, or ON_nil_uuid. Returns: true if dimension_style_id is valid and is set. </p>
</div>
</div>
<a id="ae35541db29fea076ddf67fbe1c21f85c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae35541db29fea076ddf67fbe1c21f85c">&#9670;&nbsp;</a></span>SetDocumentUserString()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ONX_Model::SetDocumentUserString </td>
<td>(</td>
<td class="paramtype">const wchar_t *&#160;</td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const wchar_t *&#160;</td>
<td class="paramname"><em>string_value</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>BEGIN model document level user string tools <br />
Description: Attach a user string to the document. Parameters: key - [in] id used to retrieve this string. string_value - [in] If nullptr, the string with this id will be removed. Returns: True if successful. </p>
</div>
</div>
<a id="a75302bf563fa7d09e9e30fdda088435e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a75302bf563fa7d09e9e30fdda088435e">&#9670;&nbsp;</a></span>UsesIDef()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int ONX_Model::UsesIDef </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_o_n___instance_ref.html">ON_InstanceRef</a> &amp;&#160;</td>
<td class="paramname"><em>iref</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="struct_o_n___u_u_i_d__struct.html">ON_UUID</a>&#160;</td>
<td class="paramname"><em>idef_uuid</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Description: See if the instance reference iref refers to an instance definition. Parameters: iref - [in] idef_uuid - [in] id of idef we are looking for Returns: table 0 iref does not use idef 1 iref directly references idef &gt;1 iref has a nested reference to idef (nesting depth returned) -1 iref.m_instance_definition_uuid is not valid -2 invalid idef found </p>
</div>
</div>
<a id="ae78efb28ef00be9b443b92604d5a2175"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae78efb28ef00be9b443b92604d5a2175">&#9670;&nbsp;</a></span>ValdateComponentIdAndName()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ONX_Model::ValdateComponentIdAndName </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_o_n___model_component.html#a2977d69091b4952cc19b0189a28a0eac">ON_ModelComponent::Type</a>&#160;</td>
<td class="paramname"><em>component_type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="struct_o_n___u_u_i_d__struct.html">ON_UUID</a> &amp;&#160;</td>
<td class="paramname"><em>candidate_id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="struct_o_n___u_u_i_d__struct.html">ON_UUID</a> &amp;&#160;</td>
<td class="paramname"><em>component_parent_id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const wchar_t *&#160;</td>
<td class="paramname"><em>candidate_name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>bResolveIdConflict</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>bResolveNameConflict</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="struct_o_n___u_u_i_d__struct.html">ON_UUID</a> &amp;&#160;</td>
<td class="paramname"><em>model_id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_o_n__w_string.html">ON_wString</a> &amp;&#160;</td>
<td class="paramname"><em>model_name</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a3b880097cdfea21a5a9c03b3770d510d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b880097cdfea21a5a9c03b3770d510d">&#9670;&nbsp;</a></span>WireframeColorFromAttributes()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___color.html">ON_Color</a> ONX_Model::WireframeColorFromAttributes </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_o_n__3dm_object_attributes.html">ON_3dmObjectAttributes</a> &amp;&#160;</td>
<td class="paramname"><em>attributes</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Description: Get wireframe drawing color from object attributes. Parameters: attributes - [in] object attributes. Returns: Wireframe drawing color. </p>
</div>
</div>
<a id="aeb080afd3f41d09c76eb7b1c8aab21da"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb080afd3f41d09c76eb7b1c8aab21da">&#9670;&nbsp;</a></span>Write() <span class="overload">[1/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ONX_Model::Write </td>
<td>(</td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>filename</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>version</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_o_n___text_log.html">ON_TextLog</a> *&#160;</td>
<td class="paramname"><em>error_log</em> = <code>nullptr</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Description: Writes contents of this model to an openNURBS archive.</p>
<p>Parameters: filename - [in]</p>
<p>version - [in] Version of the openNURBS archive to write. 0 default value and suggested. When 0 is passed in, the value of <a class="el" href="class_o_n___binary_archive.html#a29788efc3c02dfbc2b11c715389e2141">ON_BinaryArchive::CurrentArchiveVersion()</a> is used. 2, 3, 4, 50, 60, ... If you pass in a value &lt; <a class="el" href="class_o_n___binary_archive.html#a29788efc3c02dfbc2b11c715389e2141">ON_BinaryArchive::CurrentArchiveVersion()</a>, then some information in current data structures will not be saved in the 3dm archive. Rhino 2.x can read version 2 files. Rhino 3.x can read version 2 and 3 files. Rhino 4.x can read version 2, 3, and 4 files. Rhino 5.x can read version 2, 3, 4, 5, and 50 files. Rhino 6.x can read version 2, 3, 4, 5, 50, and 60 files.</p>
<p>error_log - [out] any archive writing errors are logged here.</p>
<p>Returns: True if archive is written with no error. False if errors occur. Error details are logged in error_log. </p>
</div>
</div>
<a id="aa76d97aee9adf79bdf41097f350048d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa76d97aee9adf79bdf41097f350048d2">&#9670;&nbsp;</a></span>Write() <span class="overload">[2/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ONX_Model::Write </td>
<td>(</td>
<td class="paramtype">const wchar_t *&#160;</td>
<td class="paramname"><em>filename</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>version</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_o_n___text_log.html">ON_TextLog</a> *&#160;</td>
<td class="paramname"><em>error_log</em> = <code>nullptr</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Description: Writes contents of this model to an openNURBS archive.</p>
<p>Parameters: filename - [in]</p>
<p>version - [in] Version of the openNURBS archive to write. 0 default value and suggested. When 0 is passed in, the value of <a class="el" href="class_o_n___binary_archive.html#a29788efc3c02dfbc2b11c715389e2141">ON_BinaryArchive::CurrentArchiveVersion()</a> is used. 2, 3, 4, 50, 60, ... If you pass in a value &lt; <a class="el" href="class_o_n___binary_archive.html#a29788efc3c02dfbc2b11c715389e2141">ON_BinaryArchive::CurrentArchiveVersion()</a>, then some information in current data structures will not be saved in the 3dm archive. Rhino 2.x can read version 2 files. Rhino 3.x can read version 2 and 3 files. Rhino 4.x can read version 2, 3, and 4 files. Rhino 5.x can read version 2, 3, 4, 5, and 50 files. Rhino 6.x can read version 2, 3, 4, 5, 50, and 60 files.</p>
<p>error_log - [out] any archive writing errors are logged here.</p>
<p>Returns: True if archive is written with no error. False if errors occur. Error details are logged in error_log. </p>
</div>
</div>
<a id="a3d138eb3829f2f4d386b0d42319d1315"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d138eb3829f2f4d386b0d42319d1315">&#9670;&nbsp;</a></span>Write() <span class="overload">[3/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ONX_Model::Write </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_o_n___binary_archive.html">ON_BinaryArchive</a> &amp;&#160;</td>
<td class="paramname"><em>archive</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>version</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_o_n___text_log.html">ON_TextLog</a> *&#160;</td>
<td class="paramname"><em>error_log</em> = <code>nullptr</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Description: Writes contents of this model to an openNURBS archive.</p>
<p>Parameters: archive - [in] archive to write to You must call archive.SetArchiveFullPath(...) i order for file references to work correctly.</p>
<p>version - [in] Version of the openNURBS archive to write. 0 default value and suggested. When 0 is passed in, the value of <a class="el" href="class_o_n___binary_archive.html#a29788efc3c02dfbc2b11c715389e2141">ON_BinaryArchive::CurrentArchiveVersion()</a> is used. 2, 3, 4, 50, 60, ... If you pass in a value &lt; <a class="el" href="class_o_n___binary_archive.html#a29788efc3c02dfbc2b11c715389e2141">ON_BinaryArchive::CurrentArchiveVersion()</a>, then some information in current data structures will not be saved in the 3dm archive. Rhino 2.x can read version 2 files. Rhino 3.x can read version 2 and 3 files. Rhino 4.x can read version 2, 3, and 4 files. Rhino 5.x can read version 2, 3, 4, 5, and 50 files. Rhino 6.x can read version 2, 3, 4, 5, 50, and 60 files.</p>
<p>error_log - [out] any archive writing errors are logged here.</p>
<p>Returns: True if archive is written with no error. False if errors occur. Error details are logged in error_log.</p>
<p>Example: </p><pre class="fragment"> model = ...;
if ( model.IsValid( error_log ) )
{
const wchar_t* wsFileName = ....;
FILE* fp = ON::OpenFile( wsFileName, L"wb");
bool ok = false;
if ( 0 != fp )
{
const char* sStartSectionComment = "...";
int version = 5; ///&lt; 2, 3, 4 or 5 are valid
ON_BinaryFile archive( ON::archive_mode::write3dm, fp );
archive.SetArchiveFullPath(wsFileName);
ok = model.write( archive,
version,
sStartSectionComment,
error_log );
ON::CloseFile( fp );
}
}</pre>
</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="a4183844ca76b9750e3ea72f3309afe4f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4183844ca76b9750e3ea72f3309afe4f">&#9670;&nbsp;</a></span>ONX_ModelComponentIterator</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">friend class <a class="el" href="class_o_n_x___model_component_iterator.html">ONX_ModelComponentIterator</a></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a13aa0b096dbd74286c510d7b0275ca6b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a13aa0b096dbd74286c510d7b0275ca6b">&#9670;&nbsp;</a></span>m_3dm_file_byte_count</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ON__UINT64 ONX_Model::m_3dm_file_byte_count = 0</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="aab35ffd4ce264ac1ee84948c7f9652ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab35ffd4ce264ac1ee84948c7f9652ab">&#9670;&nbsp;</a></span>m_3dm_file_version</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int ONX_Model::m_3dm_file_version = 0</td>
</tr>
</table>
</div><div class="memdoc">
<p>3dm archive start section information </p>
<p>BEGIN model definitions </p>
</div>
</div>
<a id="af8ad436fc577f110d0cf431a7abe42b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8ad436fc577f110d0cf431a7abe42b0">&#9670;&nbsp;</a></span>m_3dm_opennurbs_version</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned int ONX_Model::m_3dm_opennurbs_version = 0</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="aa87a9b7fb7c26c0ce80531fea07d66e3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa87a9b7fb7c26c0ce80531fea07d66e3">&#9670;&nbsp;</a></span>m_properties</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n__3dm_properties.html">ON_3dmProperties</a> ONX_Model::m_properties</td>
</tr>
</table>
</div><div class="memdoc">
<p>Properties include revision history, notes, information about the applicaton that created the file, and an optional preview image. </p>
</div>
</div>
<a id="a3c0684530734e4e784d3afd21856d02a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c0684530734e4e784d3afd21856d02a">&#9670;&nbsp;</a></span>m_settings</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n__3dm_settings.html">ON_3dmSettings</a> ONX_Model::m_settings</td>
</tr>
</table>
</div><div class="memdoc">
<p>Settings include tolerance, and unit system, and defaults used for creating views and objects. </p>
</div>
</div>
<a id="a858a7ab654f2be782b6fc9f1fbd31736"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a858a7ab654f2be782b6fc9f1fbd31736">&#9670;&nbsp;</a></span>m_sStartSectionComments</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___string.html">ON_String</a> ONX_Model::m_sStartSectionComments</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="aa0ed68a89b19e326601f1b697eec2060"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa0ed68a89b19e326601f1b697eec2060">&#9670;&nbsp;</a></span>m_userdata_table</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_o_n___simple_array.html">ON_SimpleArray</a>&lt;<a class="el" href="class_o_n_x___model___user_data.html">ONX_Model_UserData</a>*&gt; ONX_Model::m_userdata_table</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Jan 25 2018 17:01:12 for openNURBS SDK Help by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>