The Variable Library FeatureScript works by using attributes to "store" variables on variable library cubes via the Create libraries tab. The variables attached to those parts can then be used in other part studios by selecting the appropriate variable library cubes under the Use libraries tab. Because of the way the variable library tool is designed, users can create variable libraries using the feature interface directly (in a manner practically identical to Onshape's variable feature), or they can be imported from a CSV file uploaded to Onshape.
One thing that's important to note is that FeatureScript variable functions cannot be stably attached to variable libraries. Instead, users who wish to add their own custom variable functions will need to modify the Variable Function Library. For more information on how to do that, see the Variable Function Library as well as the documentation for the variable library FeatureScript.
Documentation for the variable library FeatureScript which can be found here. You can add the variable library FeatureScript to your toolbar here. If you have any comments or feedback, feel free to leave them below. I hope you find my FeatureScript useful!
Comments
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! Learn How to FeatureScript Here 🔴