[C# .net CONNECT] how to scale element about 0,0

IM trying to scale all graphical elements by a factor about 0,0,0 point.

i see posts on this forum for doing this from the COM side and c++ side but not .net. 

any help looks like i need to use the TransformInfo but unsure how to set it.

ModelElementsCollection graphicalElements = curModel.GetGraphicElements();
foreach(Bentley.DgnPlatformNET.Elements.Element curElement in graphicalElements)
{
    Bentley.DgnPlatformNET.TransformInfo transformInfo = new TransformInfo();
    //set scale and origin
    
    curElement.ApplyTransform(transformInfo);
}

Parents Reply Children
No Data