Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
GenerativeComponents
  • Product Communities
GenerativeComponents
GenerativeComponents Community Wiki SS6 - How to: Clean up Graph Locations
    • Sign In
    • +An Overview of GenerativeComponents
    • +Addin Content
    • +Bentley BIM Modeler Accreditation – Program Overview
    • +C# Sample Solution and other Add-ins
    • -GenerativeComponents Solutions
      • Excel node is giving error when trying to read or write any values
      • GenerativeComponents Silent install on AECOsim Building Designer and MicroStation
      • GenerativeComponents User Manual
      • I cannot get Promote Element to work correctly in SELECTseries6
      • Incorrect units when opening a GCT file
      • Installation steps for GC on AECOsim Building Designer SS6
      • Polygon.Offset sometimes produces flipped polygons
      • Resolving “change rejected in order to preserve integrity” message
      • SS6 - How to: Clean up Graph Locations
      • SS6 Integration - User Preferences Dialog Does Not Appear
      • Tip - Control Symbol Size
      • Why are *.~gt files generated and what do they do?
    • +Learn GenerativeComponents
    • +Reference Material
    • Support for GenerativeComponents
    • +Tutorials
    • +User Projects
    • +Visualized Parametric Experimentations
    • +zed_Older Content

     
     Questions about this article, topic, or product? Click here. 

    SS6 - How to: Clean up Graph Locations

    Two new commands are available on SS6 to clean up the clutter of node repositioning:

    • To record Graph Locations: gc graph applylocations
    • To remove Graph Locations: gc graph deletelocations

    'gc graph applylocations' will take the most recent node locations and apply them to the original nodes. Shown in the image below, note the two moves in the 'Before' state and how transactions 7 and 8 which were just node repositioning transactions, are deleted and the last node position is added to the original node instance.

    the 'gc graph deletelocations' command strips all of the location entries from the transactions applying default spacing to the nodes with quite tidy results in my (simple!) example:

    If you examine the transactions after running this command you will find that all the lines:

    GraphLocation             = {xxx.x, yyy.y};

    have been removed.

    • nodes
    • GC
    • Share
    • History
    • More
    • Cancel
    • Marc Thomas Created by Bentley Colleague Marc Thomas
    • When: Thu, Aug 27 2015 9:41 AM
    • Revisions: 1
    • Comments: 1
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies