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

Hi,

 

Assuming that the code block iterates through all components and the oCompName is correctly reading the occurence.Name the following should be checked:

First, make sure that your parameter type for the number of patterns is unitless:

alexanderboogaard_0-1698397675365.png

 

 

If (oCompName = "HOLDER-A:" & i) Or (oCompName = "HOLDER-B:" & i) Then 
  Dim patName As String = oCompName & ":PATTERN"
  Dim patAngl As Integer = 360 / pAts
  Dim circPattern = Patterns.AddCircular(patName, oCompName, pAts, patAngl, oCompName , "Z축", axisNaturalDirection := True, lockRotation := False)
End If

 

 

What is changed is the reference to 'pAts' in the function for the pattern.

Please let me know if it worked. If not, please share the code where oCompName is declared to get a better understanding.


Kind regards,
Alexander Boogaard