Spatial Adjustment tools: For multipatch features that were not created within a spatial reference system, adjust their size and position using the standard Spatial Adjustment tools (ArcMap only).Snapping: You can use multipatch vertices, segments, and faces as part of the classic snapping environment.Scale (3D): Resize a multipatch feature on its 3D geometry.Rotate: Rotate a multipatch feature to change the direction it's facing.Move: Relocate your multipatch features by interactively moving them or using precise distances.Attribute Editor: Create and maintain attributes for your multipatch features.The list below represents common editing tasks for multipatch features: Many editing actions are useful for multipatch geometries and are available for use with multipatch features. Supported editing actions for multipatches You can also write ArcObjects code for generating complex multipatch geometries. Multipatch features can be created by converting 3D symbology to multipatch features or through 3D geoprocessing tools such as Layer 3D To Feature Class. That is, you can move, rotate, scale, delete, insert, replace, and copy multipatch features, as well as define and populate attributes for the features. The 3D editing environment for multipatch editing focuses on whole feature management. Since ArcScene and ArcGlobe are three-dimensional environments, there are more editing options available for multipatch features, such as Replace with model and the Insert construction tool. However, as multipatch features are usually three-dimensional, and the ArcMap editing environment is two-dimensional, there are some limitations with the tools and functions available in that environment. Multipatch features can be edited in ArcScene, ArcGlobe, and ArcMap, just like all other feature types. Row = arcpy.Multipatch features can be used for different reasons, for example, to enhance 3D realistic symbology of a feature. #This next line doesn't do anything error, PointGeom obj does not support item assignment #Create a new point with the same X,Y and new Z #If the Z value is lower than 200, lower that Z value by 10 bb is the multipatch layer: with = True) as cur: So with a multipatch that seems locked down an a arcpy.MultiPatch that doesn't accept my array as input, I don't know what I'm doing wrong or what other tools I have left to use. arcpy.Multipatch(cursor) also doesn't work. 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. I've created a 3D multipatch bounding envelope around a bunch of other 3D features.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |