Quantcast
Channel: All Revit API Forum posts
Viewing all articles
Browse latest Browse all 66693

Re: Family Symbol Insert Error

$
0
0

Sammoes,

 

I'm using 2014.

 

First, in my code the 'Drop-Cheek.rfa' does not have a white space, I'm not sure where that came from, I think I might've made a small formatting error when I edtied my code.

 

Second.  ductObj is an informational class, it just has information like dimensions/names for my duct obj.  The code would be something like 

 

 //Location of Family on machine
   string fileLoc = @"C:\Revit Families\Rectangular Offset Radius Drop-Cheek.rfa";

   //Family Name
   string famName = "Rectangular Offset Radius Drop-Cheek";

   //Load Family Symbol
   doc.LoadFamilySymbol(fileLoc, famName, out famSym);

 

That's what it should be for the purposes of this forum post, but like I  said, no white spaces in code and the names from file loc/family name match.  


Viewing all articles
Browse latest Browse all 66693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>