How to name a pattern

How to name a pattern

Anonymous
Not applicable
400 Views
1 Reply
Message 1 of 2

How to name a pattern

Anonymous
Not applicable

Hello

 

I'm trying to give a name to a rectangular pattern but i have no idea how i can

 

Here's the part of code:

Thanks

 

............

oMatrix.SetTranslation(oTG.CreateVector(oColSpacing20*2.54, oRowSpacing*2.54, 0))
oOccurrence = oAsmCompDef.Occurrences.Add(oPath40, oMatrix)

oParentOccs.Clear
oParentOccs.Add(oOccurrence)

oRectOccPattern = oAsmCompDef.OccurrencePatterns.AddRectangularPattern _
(oParentOccs, oXAxis, True, oColSpacing40*2.54, oColCount40)

..........
0 Likes
Accepted solutions (1)
401 Views
1 Reply
Reply (1)
Message 2 of 2

rikard.nilsson
Collaborator
Collaborator
Accepted solution

Hi,

 

If I understand you right.. 

Then you just set ...

oRectOccPattern.Name = "Test"

 

 

/Rikard

0 Likes