CityEngine: ability to snap/detach GraphNodes via Python

Idea created by dave.lajoie_Presagis on Aug 3, 2017
    New
    Score0

    in CityEngine, there is a way to move a Graph Node over another graph Node and it would combine the two graph nodes into one. if you use the python interface using ce.move(), the two points will not be merged like it does in the user interface.

     

    ce.move( [ list_of_graph_nodes ], merge = True, mergeDistance = 0.1 )

     

    Moreover, if you have a GraphNode with N Adjacent Graph Segments, it would help to be able to break that Graph Node intro 1 Graph Node per adjacent Graph Segment. The end result would appear like all graph segments are independent and no longer linked

     

    ce.detachGraphNodes( list_of_graph_nodes )