MACRO - component thickness

MACRO - component thickness

deactivated_JanNavratil
Advocate Advocate
763 Views
4 Replies
Message 1 of 5

MACRO - component thickness

deactivated_JanNavratil
Advocate
Advocate

Hello,

 

I'm creating small macro to know the information if there is any toolpath in my project with applied component thickness.

I've found that there is Array - ThicknessSetValues in the TP parameters but I can see there only the values but not any number of how many surfaces are selected or if any.

 

JanNavratil_0-1662555337194.png

 

Can you please advise? Are we able to do that?

 

Thanks,

Jan

0 Likes
Accepted solutions (1)
764 Views
4 Replies
Replies (4)
Message 2 of 5

Sean571
Advocate
Advocate
Accepted solution

They have a function in the reference page that gets the number of components. Here it is:
thickness set.png

 

Sean Wroblewski
Applications Engineer

Message 3 of 5

deactivated_JanNavratil
Advocate
Advocate

Yes thats what I needed ! thanks !

Message 4 of 5

iamcdn79
Mentor
Mentor

what is the set_type == 'default' OR 'surfaces' OR 'verification' referring to? Is it the tabs at the top?

 

Screenshot 2026-03-20 153754.png


Intel Core i9 13900KF CPU
128 GB Kingston Beast DDR4 SDRAM
PNY RTX A2000 6GB Video Card
WD 1 TB SSD Hard Drive
Windows 11 Pro

0 Likes
Message 5 of 5

Sean570
Advocate
Advocate

Yeah, it's setting whether to get the values from one of those three sections.

0 Likes