Jump to content

MAXscript: Loading a RVT file with the views


alexdoss
 Share

Recommended Posts

Hi all !

Im looking for a way to import a revit scene with a specific view using MAXscript.

I bumped into "OneClickRevit.RequestViews" method and "FileLinkMgr.Attach".

This code Opens a RVT file successfully, but without the views:

fName = "\\server\folder\file.rvt"

FileLinkMgr.Attach fName showUI:false

 

I would like to make the process fully automated, so this is why Im setting UI to false.

Any pointers would be most appreciated !

Cheers!

Al.

Link to comment
Share on other sites

Scott thanks very much for ur light!

Im sorry for the delay of this answer.

I couldnt manage to find how max calls Revit View on Load. Believe me I tried, but I will keep on trying I guess =P till a reach the border of MAXscript frontier with SDK. Prolly I'll have to jump across the SDK side of this sooner than I expected for this. hope there is a solution for the matter.

Basically I still need to find a way to query a revit file for views, and choose a specific view, either by index or by name (better).

For now Im using FBX. But the mess is frustrating.

 

Again if anyone has a clue on how to get a query on RVT views (in MAXscript), please shine a light on this thread.

All the best!

Al.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...