Community
PowerMill Forum
Welcome to Autodesk’s PowerMill Forums. Share your knowledge, ask questions, and explore popular PowerMill topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Compare items in 2 separate lists

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
danmic7JH66
368 Views, 2 Replies

Compare items in 2 separate lists

Is there an easy way to compare two separate lists and return a list of matching items (items that appear in both lists)?

2 REPLIES 2
Message 2 of 3
Cobra.007
in reply to: danmic7JH66

You can use the function intersection for this.

 

for example:

STRING LIST TP_Bound_Names = intersection(ToolpathTools,BoundaryTools)

Message 3 of 3
danmic7JH66
in reply to: Cobra.007

Neat, that's exactly what I was looking for, thank you.

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report