Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Template views

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
406 Views, 3 Replies

Template views

Hi,

 

I want to make a template document with multiple section views of an element   in which to add dimensions and annotations.And then in my new document i would like to make same element and recreate the section views on it . My problem is that when I rotate the element , the facing normal of element is changed and the dimensions can't be replicated . Is there a workaround for this ? (an error that I encountered is : One or more dimension references are or have become invalid. or after that : There is no open view that shows any of highlighted elements. Searching through closed views to find a good view could take a long time. 

 

Thank you

3 REPLIES 3
Message 2 of 4
rosalesduquej
in reply to: Anonymous

Hi Daniel,

 

Are you trying to do this through the Revit API ? It sounds more as a user case workflow. 

 

Thanks,



Jaime Rosales D.
Sr. Developer Consultant
Twitter | AEC ADN DevBlog
Message 3 of 4
Anonymous
in reply to: rosalesduquej

Hi Jaime,

 

Yes I'm creating the view through api. And after that I want to create new dimensions based on a template view  . I think my problem is that the normals of planar faces are not found because the element is rotated . So, I must rotate the vectors of planar faces with my angle , or is another way for getting the correct planar faces? 

 

Thank you

Message 4 of 4
Anonymous
in reply to: Anonymous

I've solved to find planar faces using transformation matrix of element . My current biggest problem is that if i have a beam with two corresponding columns my new dimension will take for the normal vector (-1,0,0) left planar face of left column, left planar face from left of beam and left planar face of right column . In my template the dimension has only the left planar face of left column and left planar face of beam . Can I diferentiate this 3 planar faces?

 

Thanks

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report