Horje
scale curve revit api Code Example
scale curve revit api
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 );
}




Csharp

Related
how to turn the textbox into char in windows forms Code Example how to turn the textbox into char in windows forms Code Example
serenity.is required field Code Example serenity.is required field Code Example
what function is called just before the a script is ended c# Code Example what function is called just before the a script is ended c# Code Example
create a hash of an XML c# Code Example create a hash of an XML c# Code Example
string reduction in c# Code Example string reduction in c# Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9