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: 

Set default annotation crop offset Revit Api

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
thientai
2268 Views, 5 Replies

Set default annotation crop offset Revit Api

Hello everyone, I try to set default of Annotation Crop offset.

 

I find setting annotation crop offset of a view in RightAnnotationCropOffset, LeftAnnotationCropOffset, BottomAnnotationCropOffset, LeftAnnotationCropOffset.

 

But I don't know how to set default offset whenever I create a callout or section.

 

Any ideas, please. Thank you very much.

5 REPLIES 5
Message 2 of 6
thientai
in reply to: thientai

No one has ideas??? Help me please >.<

Message 3 of 6
matthew_taylor
in reply to: thientai

Hi @thientai,

You will probably need to use an iUpdater to modify the offsets of newly created viewers.

There are examples of an iUpdater in the SDK, and searching this forum and thebuildingcoder will turn up further examples.


Cheers,

-Matt
_______________________________________________________________________________
Marking a post as a 'solution' helps the community. Giving a post 'Kudos' is as good as saying thanks. Why not do both?
Message 4 of 6
thientai
in reply to: matthew_taylor

Dear matthew.taylor,

 

Thank you for your reply. I searched it in SDK and found it.

Thank you very much.

Message 5 of 6

where can i find the information.

 

Can you please share the link.

 

i'm unable to find the right page.

 

thank you.

 

with best regards.

Message 6 of 6

Hello @rathnakarmyakala ,

The SDK can be downloaded from here: https://www.autodesk.com/developer-network/platform-technologies/revit

Once you have the sample solution (SDKSamples) open in Visual Studio (or another IDE), search for 'iupdater'. There are a couple of examples.


Cheers,

-Matt
_______________________________________________________________________________
Marking a post as a 'solution' helps the community. Giving a post 'Kudos' is as good as saying thanks. Why not do both?

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community