본문 바로가기
반응형

전체 글180

Revit API Developers Guide http://help.autodesk.com/view/RVT/2017/ENU/?guid=GUID-F0A122E0-E556-4D0D-9D0F-7E72A9315A42 2018. 3. 28.
Youtube: Revit API C# Getting Started Revit API C# Getting Started Learn the basics of the Revit API. www.youtube.com Free Online GUID Generator Online GUID / UUID Generator How many GUIDs do you want (1-2000): Format: Uppercase {} Braces Hypens Encoding: Base64 ? RFC 7515 ? URL encode Results: Copy to Clipboard Use these GUIDs at your own risk! No guarantee www.guidgenerator.com 2018. 3. 22.
Creating a new Level Level CreateLevel(Autodesk.Revit.DB.Document document) { // The elevation to apply to the new level double elevation = 20.0; // Begin to create a level Level level = Level.Create(document, elevation); if (null == level) { throw new Exception("Create a new level failed."); } // Change the level name level.Name = "New level"; return level; }ref: http://help.autodesk.com/view/RVT/2017/ENU/?guid=GUI.. 2018. 3. 21.
Creating a grid with a line or an arc Help help.autodesk.com void CreateGrid(Autodesk.Revit.DB.Document document) { // Create the geometry line which the grid locates XYZ start = new XYZ(0, 0, 0); XYZ end = new XYZ(30, 30, 0); Line geomLine = Line.CreateBound(start, end); // Create a grid using the geometry line Grid lineGrid = Grid.Create(document, geomLine); if (null == lineGrid) { throw new Exception("Create a new straight grid f.. 2018. 3. 21.
WriteGridLinesCoord.py #Export Points to CSV of GRID Lines import rhinoscriptsyntax as rs #Select lines lns = rs.GetObjects("Select GRID Lines for CSV Export", 4) #create a filename variable filename = rs.SaveFileName("Save CSV file","*.csv||", None, "ptExport", "csv") #open the file for writing file = open(filename, 'w') #create and write a headerline for our CSV headerline = "X1,Y1,Z1,X2,Y2,Z2\n" file.write(headerli.. 2018. 3. 21.
qr code 만들기 2017. 12. 3.
반응형