RevitCity.com Logo

Home  |  Forums  |  Downloads  |  Gallery  |  News & Articles  |  Resources  |  Jobs  |  FAQ  |  SearchSearch  |  Join  |  LoginLogin

Welcome !

244 Users Online (69 Members): Show Users Online - Most ever was 626 - Mon, Jan 12, 2015 at 2:00:17 PM

 

Forums

Forums >> Workflow & Implementation >> API & Third Party Apps >> Revit MEP 2011 API - Open file and transfer project standards

Search this ThreadSearch this Thread | Page 1 of 1 |

Wed, Apr 27, 2011 at 8:45:47 PM | Revit MEP 2011 API - Open file and transfer project standards

#1

oly884


active

Joined: Tue, Dec 30, 2008
6 Posts
No Rating


For starters, I do not have too much in the way of programming background. I have played with VBA a fair amount, but it's been a few years since I last had a go at it.

I'm looking to create a macro to open a template file (static location) and transfer the project standards (view templates only) to an already open rvt project.

 

I've done a fair amount of combing the internet, blogs/etc, and still haven't been able to get the template file to even open. If anyone could help point me in the right direction I'd grealy appreciate it!


This user is offline

 

Thu, Apr 28, 2011 at 4:45:30 AM | Revit MEP 2011 API - Open file and transfer project standards

#2

thetabest


active
thetabest Avatar

Joined: Tue, Mar 15, 2011
199 Posts
3 Stars: 2 Votes


i think its cool if someone can do this, but why?  you can create a new revit template file, purge all, then create your view templates once done with view templates then save as somewhere. open revit options and change the default template file to be one just created.... done.   thus i ask if its really of concern... 


-----------------------------------

Trent Best

Best Systems

the.tabest@gmail.com

This user is offline

 

Thu, Apr 28, 2011 at 1:20:55 PM | Revit MEP 2011 API - Open file and transfer project standards

#3

oly884


active

Joined: Tue, Dec 30, 2008
6 Posts
No Rating


It's not for starting new projects, so setting it as a default doesn't accomplish what I'm after. The view template file already is the default for starting new projects in our office. It's for applying view templates to Revit project files we receive from architects, structural, etc to get the views we're using from their projects to look how we want them to.

 

It's a simple macro, yes, but it can save time. You perhaps may not find it necessary or see it as useful and that's just fine...

 

I, however, see usefulness in this and would like to know if it is even possible.



Edited on: Thu, Apr 28, 2011 at 8:22:18 AM

This user is offline

 

Thu, Apr 28, 2011 at 3:35:13 PM | Revit MEP 2011 API - Open file and transfer project standards

#4

thetabest


active
thetabest Avatar

Joined: Tue, Mar 15, 2011
199 Posts
3 Stars: 2 Votes


I apologize for any sounding of disinterest, as I said, I think it great for anyone that can customize the API, I hope to be there someday.  I was just stunned at the feature that you choose, since it is fairly fast.  I was thinking there are so many other things which could use speeding up... Now that you've explained why, I can better see why you'd want this. 

Now if Revit had the ability to setup a "linked" template, thus you could have your configurations for linked files prior to linking them in, would you still go to the lengths to program this?

Anyway, I wish I could help, all I can do is say I think it should be doable...


-----------------------------------

Trent Best

Best Systems

the.tabest@gmail.com

This user is offline

 

Thu, Apr 28, 2011 at 3:43:11 PM | Revit MEP 2011 API - Open file and transfer project standards

#5

oly884


active

Joined: Tue, Dec 30, 2008
6 Posts
No Rating


No problem at all.

 

I'm just getting my feet wet again with programming and I have a feeling starting again with Revit is probably setting me up for some frustrating times!

 

It looks like the 2012 API will at least be another step forward.


This user is offline

 

Thu, Apr 28, 2011 at 4:11:32 PM | Revit MEP 2011 API - Open file and transfer project standards

#6

thetabest


active
thetabest Avatar

Joined: Tue, Mar 15, 2011
199 Posts
3 Stars: 2 Votes


I know some programming, but for some reason, once I try to program anything related to windows, or with GUIs, I become lost.  When I first got into Revit, I was thinking about automating the dimension plans, putting a found_x, found_y, and found_z in each wall, and then allowing my "command" to automatically toggle whether or not a wall is "found" in that given axis.  I opened up the API files, started reading, and felt quite rested when I woke the next morning!  Best of luck on your endevour, and yes, I think you are looking to a few headaches in the future, but the knowledge you will gain from this will be invaluable.


-----------------------------------

Trent Best

Best Systems

the.tabest@gmail.com

This user is offline

 

Thu, Apr 28, 2011 at 4:17:37 PM | Revit MEP 2011 API - Open file and transfer project standards

#7

oly884


active

Joined: Tue, Dec 30, 2008
6 Posts
No Rating


Thanks! Appreciate the comments. I've been looking at this stuff since 2008-2009 and I'm only now finally deciding to start in with it now that at least some documentation is surfacing.


This user is offline

 

Search this ThreadSearch this Thread | Page 1 of 1 |



Similar Threads

Thread/Thread Starter

Forum

Last Post

Replies

TRANSFER PROJECT STANDARDS???

Revit Building >> Technical Support

Thu, Jan 8, 2009 at 7:27:37 PM

2

transfer project standards - line weights not transfering

Revit Building >> Technical Support

Tue, Jan 12, 2016 at 5:20:53 AM

6

Transfer Project Settings

Revit Building >> Technical Support

Fri, Apr 13, 2007 at 9:56:32 PM

0

Transfer Project Standards not working

General Discussion >> Revit Project Management

Tue, Jan 21, 2014 at 5:26:40 PM

3

transfer project standards from a previous release file

Revit Building >> Technical Support

Tue, Oct 18, 2011 at 9:54:15 PM

2

Site Stats

Members:

1459244

Objects:

20467

Forum Posts:

150562

Job Listings:

6

Sponsored Ads

Home | Forums | Downloads | Gallery | News & Articles | Resources | Jobs | Search | Advertise | About RevitCity.com | Link To Us | Site Map | Member List | Firm List | Contact Us

Copyright 2003-2010 Pierced Media LC, a design company. All Rights Reserved.

Page generation time: 5.3469

Login

User Name:

Password:

Remember Me  

Forgot Password?

Search Forums

Advanced Search

Search Forums

Advanced Search


Clear Highlights


Clear Highlights