POST
|
Ah nice.. so there's no specific steps in ArcPy, all standard Python stuff, right?
... View more
09-03-2016
04:06 AM
|
0
|
5
|
3408
|
POST
|
Hi, I'd like to create .pyc files and create scripts that will still run only using .pyc files (for sharing the files). important is that I would also like to use import modules I have created, so it should work to import pyc files or compile all files into one main pyc file. can I get a short into in how to create those files? please let me know.. thanks! matt
... View more
09-03-2016
03:30 AM
|
0
|
8
|
7261
|
POST
|
sounds good, I may actually also need to add some attrs in the workflow. Thanks!!
... View more
08-15-2016
12:42 AM
|
0
|
0
|
1045
|
POST
|
hi .. basically yes. this was just a quick test method .. I will probably adapt it again. in your experience, writing n lines individually to an FC compared to sending a list full and write once .. is there a big performance difference?
... View more
08-12-2016
12:19 PM
|
0
|
2
|
1045
|
POST
|
Hi .. thanks, this did help. I came up with this method that works now: def write_one_line_feature(linePointList, fc, spatialRef): pnt1 = arcpy.Point(linePointList[0][0], linePointList[0][1], linePointList[0][2]) pnt2 = arcpy.Point(linePointList[1][0], linePointList[1][1], linePointList[1][2]) line = arcpy.Polyline(arcpy.Array([pnt1, pnt2]), spatialRef, True, False) arcpy.CopyFeatures_management(line, fc) [[ I'm not perfectly sure what it was, but I think I made 2 errors: 1] I think the FC I created was polygon, not polyline 2] in arcpy.Polyline(), I did not define the spatial reference either or .. not sure. ]] huge thanks, also to Xander Bakker
... View more
08-12-2016
10:41 AM
|
0
|
4
|
1045
|
POST
|
ps. this is how I create the target polygon FC first: arcpy.CreateFeatureclass_management(ws, 'diag', 'POLYGON', has_z = 'ENABLED', spatial_reference = spatialRef) I noticed the spatial reference sometimes gets created correctly, sometimes not. pretty erratic though.
... View more
08-12-2016
09:18 AM
|
0
|
0
|
1045
|
POST
|
Hi, I am using this code to create a polylineZM in PRO, but I cannot see it in Map_3D (3d viewport). I do have x,y,z coordinates.. Could somebody help me with this? Any input welcome! Matt def write_polyLine(data,outfile): array = arcpy.Array() point = arcpy.Point() features=[] for feature in data: for part in feature: point.X=part[0] point.Y=part[1] point.Z=part[2] array.add(point) MP=arcpy.Polyline(array,None,True,True) array.removeAll() features.append(MP) arcpy.CopyFeatures_management(features, outfile, "", "0", "0", "0")
... View more
08-12-2016
08:21 AM
|
0
|
7
|
2306
|
POST
|
Hey .. Simply drag n drop the cej scene file into the viewport of the scene into which you'd like to import. Then choose the layers you need in the dialog that pops up. Cheers! Matt
... View more
03-23-2016
10:15 AM
|
1
|
1
|
609
|
POST
|
Hi, please make sure you re-watch the same video on arcgis.com. they have the highres videos. just google for the same title. can you post a screenshot of what you see in your scene? I'm sure it's just a object type visibility thing. let me know. Matt
... View more
10-19-2015
09:55 PM
|
0
|
2
|
446
|
POST
|
I did not have that issue .. of course .. haha .. you have to make sure that the rubble 'knows' how far to fall down. basically, use a generic attribute with scope.elevation at the very beginning of the shape. this saves the 'soil' height the building stands on. then, translate each piece by it's own scope.elevation minus the building's floor height. make sense? Matt
... View more
10-15-2015
10:32 AM
|
0
|
1
|
720
|
POST
|
Hey, shapeL, O, U expect a yUp scope. after a comp(f), you always have a zUp scope. use alignScopeToGeometry(yUp, 0) or similar. ok? Matt
... View more
10-14-2015
04:00 PM
|
0
|
0
|
322
|
POST
|
Guess who created that rule you're referring to ... Matt
... View more
10-14-2015
01:43 PM
|
0
|
3
|
720
|
POST
|
Hi, try using touches with 3d geometries, so extrude the polygons you're working with. once you have done the test and gotten the result, go back to the original face with comp(f) Cheers, Matt
... View more
10-11-2015
01:57 PM
|
0
|
0
|
474
|
POST
|
CLICK on the center button in the export window. It will calculate the offset to the cartesian origin .. Matt Matthias Buehler Environment Developer Lead Scanline VFX Vancouver, CA
... View more
09-14-2015
07:48 AM
|
0
|
0
|
609
|
POST
|
Hi, Did you have a look at the official tutorial 9? CityEngine Tutorials - Tutorial 9: Advanced shape grammar This will give you a good intro in how to tackle your specific building.. Good luck! Matt Matthias Buehler Head of 3D Technologies twitter: @MattB3D ------------------------------------ Garsdale Design Limited matthias.buehler@garsdaledesign.co.uk www.garsdaledesign.co.uk
... View more
09-08-2015
02:35 AM
|
0
|
3
|
1419
|
Title | Kudos | Posted |
---|---|---|
1 | 09-16-2016 10:00 AM | |
1 | 10-02-2014 04:38 AM | |
1 | 02-26-2015 03:39 AM | |
1 | 02-23-2015 09:07 AM | |
1 | 10-06-2014 07:39 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|