Hello, I created a rule package which uses CityEninge's tree library. I added the additional annotations so it would work in ArcGIS pro. (little cga code below). I want to generate the trees in ArcGis Pro using the 'procedural layer' option, which I should be able to select from the symbology > Properties drop down, right? but this option does not appear. I only get marker, stroke and fill layer options. How I can assign the rule package to point shapes?. The point data I have is a the city's vegetation in shape file. Using arcgis pro 1.3
I tried converting converting the points to multipatch but then, the rpk does not apply since it is annotated with @InPoint. So, I would need an annotation for @Multipatch????? Using the preset option forces using a single color.
the code below is a minimized version. In reality it calls other 2 little cga files, but for testing I took may sections out.
I guessed the order of how the additional annotations should go, so I am not entirely sure.. pls advise if this is wrongly done, too.
import Tree_Options: "rules/Esri Vegetation Library with LumentRT 3D Plants - Plant Loader.cga"
#import Root_Options:"rules/aoi_roots.cga"
#import LOD1_trees:"rules/aoi_lod1_tree.cga"
# Inspector - Trees ##############################
@Order(1) @Range("Cylinder","Lollypop","Fan","Analytical","Model")
attr Representation = "Analytical"
@Group("Trees",1)
@Order(1)
attr Genus = "Robinia"
@Hidden
attr Species = "Pseudoacacia"
@Order(2)
@Distance
@Range(0,30)
@Description("Change diam 0-30m")
attr Canopy_Diameter = 8
@Hidden
@Distance
@Range(0,160)
attr Radius = Canopy_Diameter/2
@Order(3)
@Distance
@Range(0,160)
@Description("Change 0-160m. Red trees have H<0")
attr Height = 10
@Order(4)
@Range(0,1)
@Description("between 0 to 1")
attr Transparency = 0
################## START
@StartRule @InPoint
load --> loadTrees
loadTrees -->
set(Tree_Options.Name, Tree_Options.getCommonName(Genus,Species))
set(Tree_Options.Radius,case Canopy_Diameter >0: Canopy_Diameter/2 else: Tree_Options.getRadius)
/* set(Tree_Options.Height,case Height<0: 10 else: Height) drawRedCylinder
Tree_Options.Generate */
set(Tree_Options.Height,case Height<0: 10 else: Height) Tree_Options.Generate