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

@earl_cody, thanks for this code!!  i copied/paste into the VBA editor, made a couple changes (my preferences, nothing wrong with code), and it works great!!  i am now trying to adapt it to Ilogic, but get an error "Array is a type and cannot not be used in an expression"....  on the crossProduct line...

 

Dim cp As Object
cp = CrossProduct(  v1:=Array(uvPlaneOneNormal.X, uvPlaneOneNormal.Y, uvPlaneOneNormal.Z),v2:=Array(uvPlaneTwoNormal.X, uvPlaneTwoNormal.Y, uvPlaneTwoNormal.Z))

 any suggestions on how to fix this?  is adapting this code to Ilogic doable (i think so)?

 

really appreciate your help on this