A one-shot script that populates a feature tree
max_borsh
Member, Developers Posts: 14 ✭
Hi Everybody!
I had already touched upon this subject but there was no way to implement it.
Let me remind as discussion was carried out:
Is there any way to write a script that could call features in the particular order(i.e. by scenario)?
I know that I can just create another feature and call all functions (custom features) that I need to create Part.
But in this case I'll get only one feature in my feature tree (in Part Studio) instead of the list of called features.
I want to take a list of features (then I'd get some changes at any feature):

Instead of this one:

Now I want to ask again about it. Maybe issue had been already solved and something like a one-shot script that populates a feature tree was invented.
I had already touched upon this subject but there was no way to implement it.
Let me remind as discussion was carried out:
Is there any way to write a script that could call features in the particular order(i.e. by scenario)?
I know that I can just create another feature and call all functions (custom features) that I need to create Part.
But in this case I'll get only one feature in my feature tree (in Part Studio) instead of the list of called features.
I want to take a list of features (then I'd get some changes at any feature):

Instead of this one:

Now I want to ask again about it. Maybe issue had been already solved and something like a one-shot script that populates a feature tree was invented.
0
Comments
-
As far as I'm aware there is no change. A script can make exactly one feature in the feature tree.
Owen S.Business Systems and Configuration Controller
HWM-Water Ltd0 -
Correct, for populating a feature tree programmatically, the API is needed. We plan on making writing code that calls the API easier in the future.Ilya Baran \ VP, Architecture and FeatureScript \ Onshape Inc1


