Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

Documentation for @clusterBodies

MBartlett21MBartlett21 Member, OS Professional, Developers Posts: 2,010 EDU
I noticed a new internal function popped up for matching the beams: @clusterBodies.

Is there any other parameters for it other than what the cut list feature provides?
mb - draughtsman - also FS author: View FeatureScripts

Comments

  • ilya_baranilya_baran Onshape Employees, Developers, HDM Posts: 1,120
    There are no other parameters.  We don't recommend using undocumented functions -- doing so can cause bugs and instabilities downstream.
    Ilya Baran \ VP, Architecture and FeatureScript \ Onshape Inc
  • MBartlett21MBartlett21 Member, OS Professional, Developers Posts: 2,010 EDU
    Just a note if anyone else comes across this: It is now a documented function in topologyUtils.fs.

    clusterBodies(Context, map) returns array
    mb - draughtsman - also FS author: View FeatureScripts
  • MBartlett21MBartlett21 Member, OS Professional, Developers Posts: 2,010 EDU
    @ilya_baran

    Just one thing, the documentation doesn't tell you what the return type is an array of. (It seems to be an array of arrays of indices into the query)
    mb - draughtsman - also FS author: View FeatureScripts
Sign In or Register to comment.