Curva de escala API Revit
public void ScaleCurves()
{
CurveArray cArray = PrepareCurveArray();
Transform x = Transform.Identity;
x = x.ScaleBasis( 1.0 / 12.0 );
int numCurves = cArray.Size;
for( int i = 0; i < numCurves; ++i )
{
Curve curve = cArray.get_Item( i );
Curve newCurve = curve.get_Transformed( x );
cArray.set_Item( i, newCurve );
}
WriteProfile( "After transformation", cArray );
}
Sore Stork