Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
 - Need support? Ask a question to our Community Support category.
 - Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
 - Be respectful, on topic and if you see a problem, Flag it.
 
If you would like to contact our Community Manager personally, feel free to  send a private message or an email.
Linear pattern tool
matt_saeger                
                
                    Member Posts: 4 ✭                
            
                    I am trying to draw a grid of circles like a peg board. I am using the linear pattern tool and I can't figure out how to specify the number of objects in both directions. 
Also how can I specify the distance grid of objects are from the edge or just center them all.
                Also how can I specify the distance grid of objects are from the edge or just center them all.
0    
            Best Answer
- 
            
owen_sparks
                        
                        
                            Member, Developers Posts: 2,660 PRO                        
                    matt_saeger said:Thanks I was not seeing the second arrow because I was zoomed in too far.michiel_helvensteijn said:
I will admit to having done the same thing. In a way I feel less silly now, but perhaps OS can take a look!
...I just spent 10 minutes trying to figure out why I can't use two directions in linear patterns anymore...
Why not set the initial spacing in such a way that both arrows are visible at whatever the current zoom level is?
Cheers,
Owen S.Business Systems and Configuration Controller
HWM-Water Ltd5 
Answers
This saves keystrokes and mouse-clicks in the case where you only wanted a linear pattern in one direction.
The key to positioning is to provide constraints -- either to the end position, or a symmetric constraint involving the extreme positions, in x and y -- once the pattern is otherwise completed
https://www.onshape.com/learn/essential-training-series#!lesson-number=2&title=part-studios
starting at about 1m30
So: Why not set the initial spacing in such a way that both arrows are visible at whatever the current zoom level is?
I will admit to having done the same thing. In a way I feel less silly now, but perhaps OS can take a look!
Cheers,
Owen S.
HWM-Water Ltd