SimplifiedLogic / creoson

OpenSource Automation using JSON Transactions for PTC's CREO Parametric
http://www.creoson.com
MIT License
81 stars 23 forks source link

Erase part from workspace #19

Closed curiosity-rover closed 4 years ago

curiosity-rover commented 5 years ago

Is it possible to Erase the file from the current workspace? I know there's windchill_clearworkspace that clears the entire workspace, wondering if we can pass "file=" to select an specific one.

adama2000 commented 5 years ago

Hm, there is a modelNames option on the JLink call we're using, but we're not exposing that in the creoson interface. That could be a change.

curiosity-rover commented 5 years ago

Hm, there is a modelNames option on the JLink call we're using, but we're not exposing that in the creoson interface. That could be a change.

That'd be fantastic if it gets added, it allows us to search through the server side Windchill workspace without clogging up the current workspace. Search for part(>1000 objects)>>read params>>close and clear from workspace, was my initial motivation for this post.

adama2000 commented 4 years ago

Checked in code for this, it'll be in the next release.