Application: ComputedSymbolGeometry
Revit Platform: All
Revit Version: 2012.0
First Released For: 2012.0
Programming Language: C#
Skill Level: Beginning
Category: Geometry
Type: ExternalCommand

Subject: ComputedSymbolGeometry
Summary: This sample is to demonstrate how to get computed symbol geometry of a family instance. This project will get various types of geometry information from the family instances in current Revit model and display them in different views by AVF.

Classes: 
Autodesk.Revit.UI.IExternalCommand
Autodesk.Revit.Document
Autodesk.Revit.Element
Autodesk.Revit.DB;
Autodesk.Revit.DB.Analysis;

Project Files: 
Command.cs
This file contains a class Command which implements IExternalCommand interface. The function of the class is to create an instance of ComputedSymbolGeometry and execute its GetInstanceGeometry method.

ComputedSymbolGeometry.cs
This file contains a class ComputedSymbolGeometry which gets various types of geometry from family instances and paints them in different Revit views.

Description: 
The sample implements IExternalCommand interface and allows user to get and view slave symbol geometry. 
-	To get slave symbol geometry, use the method GetInstanceGeometry of ComputedSymbolGeometry.
-	To paint geometry information, use the method PaintSolid of ComputedSymbolGeometry.

Instructions: 
1.	Set up addin file and start revit to load this sample.
2.	Launch ComputedSymbolGeometry via the external command menu.
3.	The sample will display various types of geometry of the family instance in current building model. You can view them by switching Revit views.