Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

Microstation C# Update 16 : Set Scale and Active Angle

$
0
0

We want to scale an element and set its active angle.

We are applying the below chunk of code for scale of element. Is this the appropriate way to do it?

// where center is origin of the element and scale value as 0.25, 0.50, 0.75
DTransform3d transform = DTransform3d.FromUniformScaleAndFixedPoint(center, scale);
TransformInfo transformationInfo = new TransformInfo(transform);
newelement.ApplyTransform(transformationInfo);

How to set the active angle for an element and rotate it by that active angle?

Regards,

Varsha


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>