Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deleting Axis Systems using Knowledgeware

Status
Not open for further replies.

zelym13

Industrial
Jul 11, 2012
9
US
I was wondering if there is a way to delete axis systems/geometry using a rule in knowledge advisor. I would want to control which axis system is deleted by having it linked to a multiple value string parameter. Thanks
 
Replies continue below

Recommended for you

You can not delete specific geometry using a rule however, you could use a reaction to multi value string parameter to fire an action. The action is a VB script which populates a list of axis systems and deletes the geometry if it exists.



Win XP64
R20/21, 3DVIA Composer 2012, ST R20
Dell T7400 16GB Ram
Quadro FX 4800 - 1.5GB
 
I found that solution, but get a click ok to terminate everytime I create the reaction. Not sure on which options to use in the reaction. I tried owner for source type then selected beforupdate for available events and wrote the code with knowledgeware action......

if string == ....
{
`VB Script.1`.Run
}

Not sure if this is the correct way to approach it. I have a Lenovo think pad W520 so the hardware that im using shouldnt be a factor.
 
The reaction should fire on value change. Change the source type to Selection. In your multi parameter use a blank as the first option then, A, B, C,... When the user toggles the multi parameter the reaction will fire your vb script. This is an efficient way instead of a rule as the rule is evaluated on every update.



Win XP64
R20/21, 3DVIA Composer 2012, ST R20
Dell T7400 16GB Ram
Quadro FX 4800 - 1.5GB
 
Thanks this helps. I am new to knowledgeware and will take some getting use to.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Top