![]() ![]() I can make a Polyline out of it with the same argument (which results in a useless 2D line), so my array isn't messed. RuntimeError: Object: CreateObject cannot create geometry from inputs Return lambda *args: val(*gp_fixargs(args, True)) So I put the new points in a new array, call arcpy.Multipatch(my new array), but get a runtime error: >arcpy.Multipatch(newAr)įile "s:\ssd applications\arcgis pro\Resources\arcpy\arcpy\arcobjects\mixins.py", line 224, in _init_įile "s:\ssd applications\arcgis pro\Resources\arcpy\arcpy\geoprocessing\_base.py", line 506, in adding 10m to Z) and construct a new multipatch:, ,, ,, ,, , , My other approach was to simply copy the points inside the multipatch, change their values (e.g. I also started an editor session, made my changes, updated the rows and ended the session but that also didn't work. I have tried to update these, but overwriting the point or array values does nothing since (I think) they're tuples. The cursor consists of the following subclasses: >cursor ![]() My main strategy so far has been to attempt updating the multipatch with an arcpy.da.UpdateCursor. What I now want to do (using ArcPy) is to make the created bounding box a bit larger and move it upwards, but I can't figure out how to edit multipatch features and there is no documentation on the arcpy.MultiPatch() geometry. The Result By following these steps you can bring your model back and forth between the two programs.I've created a 3D multipatch bounding envelope around a bunch of other 3D features. ***Note you will add the same model over and over again with ever click until you deselect the “Insert Tool” When prompted, navigate to the location of the supported 3D model file on disk.Click the desired location of the multipatch model in the 3D view.Select the Insert tool under Construction Tools.The Insert tool will appear in the Construction Tools window.Click the multipatch feature in the Create Features window.Click the Edit Placement tool on the 3D Editor toolbar.Begin a 3D edit session by clicking the 3D Editor drop-down and click “Start Editing”.Add an empty or populated multipatch feature class into ArcScene or ArcGlobe. ![]() Name the File something relevant and save it in a familiar directory as a COLLADA.Returning to ArcScene Getting the model back into ArcScene is almost the exact opposite first we want to export our finished model in Sketchup by “Selecting” File > Export > 3D Model Be sure to group all elements before saving. Rendering tasks Perform all necessary rendering tasks. Here you will want to decide if you want to merge coplanar faces – typically for texturing the outsides of builds you do want to merge.Navigate to where you just exported the Collada file from ArcScene and make sure your file type is COLLADA in the drop down menu.Open Google Sketchup® and choose a template that is in the same units as your projection in ArcScene (i.e.Convert to Collada Again in the ArcToolbox > Conversion > To Collada > ‘Multipatch to Collada’ tool is what we will use to output a file in a format Google Sketchup® will recognize. Input the corresponding Feature layer to be converted into a Multipatch, put it in a familiar directory for output.“Layer 3D to Feature Class” is the tool we will use toĬonvert the extruded features to a ‘Multipatch’ feature class. In ArcToolbox > 3D Analyst Tools > Conversion >.Visually inspect extruded features in the Dataframe.(You can also select and/or construct attribute expressions using the ‘Expression Builder’ button) Check the box and then either extrude feature by a.“Select” ‘Extrusion’ tab on the Layer Properties.“Select” = ‘Properties…’ (very last option) “Right Click” on the layer in the Table of Contents ->.Add your polygon data from shapefile, geodatabase, or SDE connection. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |