Viewing FeatureScript of Measure Feature in Part Studio

vikram_babu080
vikram_babu080 Member Posts: 4 PRO
Hello OnShape Community!

Is there a way to view FeatureScript of functions that are already available for us to use? Specifically, I wanted to the view the FeatureScript (if possible) that displays a measured line in dashes:



I am in the process of writing a custom function and would like see how the dashed line was created.

I'm  new to OnShape and I apologize if this question has already been posted/answered. Thanks for the help!

Comments

  • NeilCooke
    NeilCooke Moderator, Onshape Employees Posts: 6,126 image
    Hi @vikram_babu080 FeatuteScript is only for building part features. The dotted line from the measure tool is generated as a server side graphics function and is not exposed to the end user. 
    Senior Director, Technical Services, EMEA