多项功能优化
This commit is contained in:
@@ -50,7 +50,7 @@ namespace RvAddinTest
|
||||
//Pipe p;
|
||||
//foreach (var pipe in pipes)
|
||||
//{
|
||||
// var line = pipe.GetLocCurve() as Line;
|
||||
// var line = pipe.GetCurve() as Line;
|
||||
// var lineOrigin = line.Origin.Flatten();
|
||||
// var temp = double.MaxValue;
|
||||
// if (line.Direction == XYZ.BasisZ)
|
||||
@@ -63,11 +63,16 @@ namespace RvAddinTest
|
||||
// }
|
||||
//}
|
||||
//var conns = elem.MEPModel.ConnectorManager.UnusedConnectors.OfType<Connector>().FirstOrDefault();
|
||||
|
||||
}
|
||||
|
||||
private void GASCreator()
|
||||
{
|
||||
var dialog = new OpenFileDialog
|
||||
{
|
||||
Filter = "dwg文件(*.dwg)|*.dwg"
|
||||
};
|
||||
if (dialog.ShowDialog()==true)
|
||||
if (dialog.ShowDialog() == true)
|
||||
{
|
||||
var file = dialog.FileName;
|
||||
var cad = new ACadSharp.IO.DwgReader(file).Read();
|
||||
|
||||
Reference in New Issue
Block a user