26.03.2013 Views

Tekla OpenAPI: Drawing tools and plug This track will focus on the ...

Tekla OpenAPI: Drawing tools and plug This track will focus on the ...

Tekla OpenAPI: Drawing tools and plug This track will focus on the ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

How a Plugin is Structured<br />

New Plug#in/c<strong>on</strong>necti<strong>on</strong> in/c<strong>on</strong>necti<strong>on</strong> started<br />

– C<strong>on</strong>structor method runs<br />

– Input prompted from user<br />

– Applied values taken from dialog<br />

– Plug#in in Run() when input complete<br />

– Both <strong>the</strong> StructuresData <str<strong>on</strong>g>and</str<strong>on</strong>g> <strong>the</strong> Input are<br />

stored to <strong>the</strong> model database<br />

User<br />

Input<br />

Plug Plug#in<br />

StructuresData<br />

Input<br />

UI (Dialog)<br />

StructuresData<br />

2012 User Meeting / Charles Pool 62

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!