albie0803
Alibre Super User
The AddFastenerConstraint() has the first 2 parameters as:
Alibre Script: Assembly Class Reference
If I read this correctly, (5,0,... should create an Offset setting with a value of 5 and (5,10,... should create a Limits setting with a min value of 5 and a max value of 10 .
(5,0,... in fact gives me a Limits setting with a min value of 5 and a max value of 0. The constraint is created but there is no offset value applied.
2 corrections need to be made:
If Distance2 = 0 then the Offset option needs to be selected
If Distance2 > 0 then the Limits option needs to be selected but an error thrown or the notes need to specify that the value needs to be greater than Distance1 (as above)
Copy sent to support as well
Alibre Script: Assembly Class Reference
Distance1 | Fastener to surface mate distance |
Distance2 | Second distance for 'between' bounds type or zero if not used - If used the value needs to be greater than Distance1 |
(5,0,... in fact gives me a Limits setting with a min value of 5 and a max value of 0. The constraint is created but there is no offset value applied.
2 corrections need to be made:
If Distance2 = 0 then the Offset option needs to be selected
If Distance2 > 0 then the Limits option needs to be selected but an error thrown or the notes need to specify that the value needs to be greater than Distance1 (as above)
Copy sent to support as well