tag:blogger.com,1999:blog-23382408.post125245707764976273..comments2023-07-21T15:51:24.097-04:00Comments on CAD Application Development: Revit 2008 API: Working at the Application LevelMatt Masonhttp://www.blogger.com/profile/13505746985622750229noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-23382408.post-30120092868305540172007-07-25T07:18:00.000-04:002007-07-25T07:18:00.000-04:00Ah - ok, so it is what I was thinking...My impress...Ah - ok, so it is what I was thinking...<BR/><BR/>My impression is that using Application.OpenDocument() does not have any impact on the Revit UI - so it is basically running "in the background".<BR/><BR/>There is definitely no way to change the "ActiveDocument" inside of Revit (I confirmed this with ADN last week).<BR/><BR/>-MattMatt Masonhttps://www.blogger.com/profile/13505746985622750229noreply@blogger.comtag:blogger.com,1999:blog-23382408.post-13207283451508184412007-07-25T06:52:00.000-04:002007-07-25T06:52:00.000-04:00RevitAPI: "Application.OpenDocumentFile(String fil...RevitAPI: <BR/>"Application.OpenDocumentFile(String fileName)<BR/>Remarks<BR/>It is correspond to the File->Open...."<BR/>By "background" i mean opening, working and save a document (family, project, ...) without a UI effect. No window opened in Revit application, so the user will not be aware about the document modification.Adrian Uifaleanhttps://www.blogger.com/profile/13474687214630675649noreply@blogger.comtag:blogger.com,1999:blog-23382408.post-57223546758593990642007-07-24T08:39:00.000-04:002007-07-24T08:39:00.000-04:00I'm not sure if I completely understand your quest...I'm not sure if I completely understand your question...<BR/><BR/>You can open a document "in the background" just using the Application.OpenDocument(...) method.<BR/><BR/>But that doesn't sound like exactly what you're looking for?Matt Masonhttps://www.blogger.com/profile/13505746985622750229noreply@blogger.comtag:blogger.com,1999:blog-23382408.post-61387874600397712522007-07-24T07:53:00.000-04:002007-07-24T07:53:00.000-04:00Hi, is there a way to open a Revit project file in...Hi, is there a way to open a Revit project file in background, without a document attached to it, and without a window opened for it? <BR/>Thanks.Adrian Uifaleanhttps://www.blogger.com/profile/13474687214630675649noreply@blogger.comtag:blogger.com,1999:blog-23382408.post-57681795549000382542007-06-08T15:51:00.000-04:002007-06-08T15:51:00.000-04:00Hey,It's me again, I'm having problem getting this...Hey,<BR/>It's me again, I'm having problem getting this to work with "ExternalCommandData" in VB. Can you please give me some sample if you have. Thanks again for your help!Unknownhttps://www.blogger.com/profile/06359441014175747249noreply@blogger.comtag:blogger.com,1999:blog-23382408.post-52896401554528498592007-06-08T12:16:00.000-04:002007-06-08T12:16:00.000-04:00Wow,that's easy, thanks a lot!Wow,<BR/>that's easy, thanks a lot!Unknownhttps://www.blogger.com/profile/06359441014175747249noreply@blogger.comtag:blogger.com,1999:blog-23382408.post-75539002655821379522007-06-07T19:21:00.000-04:002007-06-07T19:21:00.000-04:00There is a method in the Revit Application class c...There is a method in the Revit Application class called "NewFamilyDocument( templateFileName )".<BR/><BR/>Best Regards,<BR/>MattMatt Masonhttps://www.blogger.com/profile/13505746985622750229noreply@blogger.comtag:blogger.com,1999:blog-23382408.post-87025229823520982602007-06-07T18:25:00.000-04:002007-06-07T18:25:00.000-04:00Hi,I'm wondering how do you "Start a New Family Do...Hi,<BR/>I'm wondering how do you "Start a New Family Document"<BR/><BR/>Thanks in advance!Unknownhttps://www.blogger.com/profile/06359441014175747249noreply@blogger.com