Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 441 Bytes

Graphics.md

File metadata and controls

15 lines (11 loc) · 441 Bytes

Sample: Graphic Elements

Create a New Graphic from tp_Image

ImageDocumentElement imageElement = (ImageDocumentElement) this.Factory.NewElement("graphic");

// get tp_Image item from Innovator
Item imageItem = this.Factory.InnovatorInstance.newItem("tp_Image", "get");
imageItem.setID("70CA6215D95C4658ACA68BFDB73E4DEE");
imageItem = imageItem.apply();

// set reference on image item
imageElement.SetImage(imageItem);