Set default annotation crop offset Revit Api

Set default annotation crop offset Revit Api

Anonymous
Not applicable
3,234 Views
5 Replies
Message 1 of 6

Set default annotation crop offset Revit Api

Anonymous
Not applicable

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.

0 Likes
Accepted solutions (1)
3,235 Views
5 Replies
Replies (5)
Message 2 of 6

Anonymous
Not applicable

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

0 Likes
Message 3 of 6

matthew_taylor
Advisor
Advisor
Accepted solution

Hi @Anonymous,

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

Anonymous
Not applicable

Dear matthew.taylor,

 

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

Thank you very much.

0 Likes
Message 5 of 6

Anonymous
Not applicable

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.

0 Likes
Message 6 of 6

matthew_taylor
Advisor
Advisor

Hello @Anonymous ,

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?
0 Likes