PDA

View Full Version : Reload Links from API



Thomas Maleski
2007-12-31, 03:36 PM
Is it posible to reload links or groups already contain in a project file thru the API? or can this be done with journal files?

I'm working on a project with 600 linked files, it's a modular building.

Takuwind
2008-01-04, 08:56 PM
I also am looking for this.

I am going over the Revit API Object Model again and again, but cannot find where Revit Links are exposed. Anyone know?

mmason.65315
2008-01-05, 01:24 PM
I can give you a start - but I'm pretty sure that the capability you're looking for doesn't exist thru the API.

You can find Linked models by looking for Instance elements. Instance is a parent class of FamilyInstance - but Linked models show up in this parent class.

Looking thru parameters you can see a little information about them - but not much.

There are no specific methods associated with the Instance class to reload it.

Good Luck,
Matt

GuyR
2008-01-10, 01:23 AM
It'd be a lot of hacking but a journal file would be easiest of the alternatives. 600 linked files , OMG !!!

Guy

Thomas Maleski
2008-01-10, 12:31 PM
It'd be a lot of hacking but a journal file would be easiest of the alternatives. 600 linked files , OMG !!!

Guy

600 linked files, but their only a 12 x 50 box. A 200 mod structure with separate RA, RSt and RSy models.