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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<str<strong>on</strong>g>Drawing</str<strong>on</strong>g> H<str<strong>on</strong>g>and</str<strong>on</strong>g>ler<br />

new <str<strong>on</strong>g>Drawing</str<strong>on</strong>g>H<str<strong>on</strong>g>and</str<strong>on</strong>g>ler();<br />

Check if a drawing is currently open<br />

– GetActive<str<strong>on</strong>g>Drawing</str<strong>on</strong>g>() check if null or <str<strong>on</strong>g>Drawing</str<strong>on</strong>g><br />

Gets Picker for getting input from user<br />

Closes, Saves, <str<strong>on</strong>g>and</str<strong>on</strong>g> Opens drawings<br />

– Can open drawing hidden in background<br />

– SetActive<str<strong>on</strong>g>Drawing</str<strong>on</strong>g>(my<str<strong>on</strong>g>Drawing</str<strong>on</strong>g>, false);<br />

Get drawings from drawing list<br />

2012 User Meeting / Charles Pool<br />

47

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

Saved successfully!

Ooh no, something went wrong!