![]() #Cioyright(c) 2017-2018 Tachyon Intelligent Design Instituteįrom RevitServices.Persistence import DocumentManagerįrom import Marshal #Copyright(C) 2011-2018 Neila Heaven Networks I need to pick each hatch in turn, but I can’t think of a workflow for thatĬapture.png 1604×630 40.5 KB #LinkDWG Core DYF by Koz Jono 1994-2018 KozMos Inc. Unfortunately I haven’t been able to loop inside AutoCAD, I can only get all the hatches and extract all of them with PickfirstSelectionSet. This would be fine if I had the same number of objects as boundaries, unfortunately that doesn’t happen… So I need to iterate through each object, grab it’s layer and get any boundaries and dump that in it’s own list. So I need to stay within AutoCAD and use something like “-HatchEdit” or “HATCHGENERATEBOUNDARY” unfortunately this means using LISP (woop another coding language) and they all get dumped on the active layer, so I don’t know whether it’s to be extruded the height of a building or the height of a kerb. I can get the hatches, but they are not associated so the GetLoopAt method for comObjects fails. I’ve been trawling the awesome LinkDwg package (I know biMorph also has some excellent work here ). All I want is to grab the hatch in a dwg, grab it’s outline and extrude them. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |