Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

developer:estimator [2015/09/14]
127.0.0.1 external edit
developer:estimator [2016/02/09] (current)
sandy
Line 7: Line 7:
  
 =====Overview===== =====Overview=====
-A common question ​that is asked of SDK developers is how to attach, or "tag", objects with application-specific data. For example, if you were writing a construction cost estimating plug-in, you would want to be able to attach specific properties, such as material, labor, cost, etc., to Rhino objects.+A common question asked of SDK developers is how to attach, or //tag//, objects with application-specific data. For example, if you were writing a construction cost estimating plug-in, you would want to attach specific properties, such as material, labor, cost to Rhino objects.
  
-=====Estimator ​Plug-in===== +=====Estimator ​plug-in===== 
-The Estimator plug-in (the source code can be downloaded ​above) is a sample C# plug-in that demonstrates how to attach custom data to Rhino objects. The sample code demonstrates ​a number of useful techniques, including:+The Estimator plug-in (download ​the source code above) is a sample C# plug-in that demonstrates how to attach custom data to Rhino objects. The sample code demonstrates ​several ​useful techniques, including:
  
   - Reading data from a web site.   - Reading data from a web site.
Line 21: Line 21:
   - More...   - More...
  
-The Estimator plug-in sample code contains ​four useful commands.+The Estimator plug-in sample code contains useful commands.
  
   - EstTagItem - attaches a single tag to an item.   - EstTagItem - attaches a single tag to an item.
Line 27: Line 27:
   - EstTagArea - attaches area-specific tags to closed planar curves, surfaces, polysurfaces,​ and meshes.   - EstTagArea - attaches area-specific tags to closed planar curves, surfaces, polysurfaces,​ and meshes.
   - EstTagVolume - attaches volume-specific tags to closed planar curves, surfaces, polysurfaces,​ and meshes.   - EstTagVolume - attaches volume-specific tags to closed planar curves, surfaces, polysurfaces,​ and meshes.
-  - EstReportOne - saves a "tag" ​report to an XML file.+  - EstReportOne - saves a //tag// report to an XML file.
   - EstReportAll - saves all tag data to either a CSV or an XML file.   - EstReportAll - saves all tag data to either a CSV or an XML file.
   - EstReportItemCounts - counts the number of single item tags and reports the totals to the command line.   - EstReportItemCounts - counts the number of single item tags and reports the totals to the command line.
developer/estimator.txt · Last modified: 2016/02/09 by sandy