awhite343
2006-11-06, 05:27 PM
All:
I've done some searching on this forum (and others) and can't find much on this topic. I've played around for a couple of days and can't quite figure it out, so I'm coming to the experts. Is it (currently) possible to link CAD files into the active Revit file via the API?
Basically, what I want to do is the following:
1. Ask the user for a file name on their computer/server (done)
2. Create a drafting view (done)
3. Rename the drafting view and title on sheet properties (done)
4. Link in an external CAD file, with preset parameters (here's my problem)
5. Add drafting view to sheet, based on drafting view name (will do this if #4 is possible).
I know #4 can be done through the journal file, but I can't seem to get the right coding through the API.
Thanks in advance,
Aaron
I've done some searching on this forum (and others) and can't find much on this topic. I've played around for a couple of days and can't quite figure it out, so I'm coming to the experts. Is it (currently) possible to link CAD files into the active Revit file via the API?
Basically, what I want to do is the following:
1. Ask the user for a file name on their computer/server (done)
2. Create a drafting view (done)
3. Rename the drafting view and title on sheet properties (done)
4. Link in an external CAD file, with preset parameters (here's my problem)
5. Add drafting view to sheet, based on drafting view name (will do this if #4 is possible).
I know #4 can be done through the journal file, but I can't seem to get the right coding through the API.
Thanks in advance,
Aaron