Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Hi, do you have some other code in your rule besides what I posted above? Because this rule works fine for me and without any errors.

You can try to recopy the rule again, because it says it can't find 'ComponenetDefinition' but in the rule it should use 'ComponentDefinition'. You have there one extra 'E'.

 

You wanted to copy parts picked by theyr prefix, didn't you? That's what this rule should do...

First it asks for prefix ("Please insert prefix of searched parts"),

then for the names of first ("Please insert new number and name for first new assembly")

and second ("Please insert new number and name for second new assembly") assembly

and finaly for the location of new assemblies ("Copy to the same location?").

 

I was testing it, so it should work.

 

E.g.: You have folowing parts:

001A

001B

002A

002B

003A

You want to make new assembly with all parts '001...', so you write '001' when it asks for prefix

and it will create one new assembly with parts 001A and 001B,

and second assembly with parts 002A002B and 003A.

Consider using "Accept as Solution" / "Kudos" if you find this helpful.
- - - - - - - - - - - - - - -
Regards,
Mike

"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - John F. Woods