Tips & Tricks

What Are ARRAY Commands in GstarCAD and How Do You Use Them?

Level
Beginner
Best for
Repeated geometry and regular layouts
Topic
Productivity

When the same object needs to appear many times in a drawing, copying it one by one is rarely the best approach. GstarCAD’s ARRAY tools can create multiple copies in a controlled pattern and keep the arrangement easy to modify later. The three main types are Rectangular Array, Polar Array and Path Array, and each solves a different kind of repetitive drafting task.

What problem do ARRAY commands solve?

Imagine placing 40 ceiling lights, arranging bolt holes around a flange or positioning fence posts along a curved boundary. You could use COPY repeatedly, calculate every position and then move individual objects when the design changes. That works, but it creates unnecessary repetitive work.

ARRAY commands automate the pattern. You create the source object once, define how the copies should be distributed, and GstarCAD generates the rest. The resulting array can also be adjusted afterwards instead of rebuilding the entire pattern.

Which ARRAY command should you use?

CommandPatternTypical use
ARRAYRECTRows and columnsLights, columns, tiles, desks, parking spaces
ARRAYPOLARAround a centre pointBolt holes, spokes, blades, circular furniture layouts
ARRAYPATHAlong a selected pathPosts, trees, lights or symbols along a road or curve

How to create a Rectangular Array

ARRAYRECT distributes copies into rows and columns. It is the most useful option when objects follow a regular grid.

  1. Draw or insert the object you want to repeat.
  2. Type ARRAYRECT and press Enter.
  3. Select the object or objects and press Enter.
  4. Adjust the number of rows and columns.
  5. Set the required spacing between the copies.
  6. Use the array grips or Properties later if the layout needs to change.

For example, if ceiling lights need to be arranged in 5 columns and 4 rows, you only need to position the first light correctly. The array creates the remaining 19 positions using consistent spacing.

How to create a Polar Array

ARRAYPOLAR places copies around a centre point or rotation axis. Instead of defining rows and columns, you specify the centre, number of items and the angle over which they are distributed.

  1. Type ARRAYPOLAR and press Enter.
  2. Select the source object and press Enter.
  3. Specify the centre point of the array.
  4. Set the required number of items.
  5. Define the fill angle, such as 360 for a complete circle.

A typical mechanical example is a flange with eight equally spaced bolt holes. Draw one hole at the correct radius, create a Polar Array with eight items and use a 360-degree fill angle. There is no need to calculate and rotate seven additional copies manually.

How to create a Path Array

ARRAYPATH distributes objects along a line, polyline, arc, circle, spline or another supported path. GstarCAD can distribute items by a specified distance or divide the available path into evenly distributed positions.

  1. Type ARRAYPATH and press Enter.
  2. Select the object you want to repeat and press Enter.
  3. Select the line, polyline, arc or other object that defines the path.
  4. Choose how the objects should be distributed.
  5. Set the required spacing or number of items.
  6. Press Enter to finish the array.

This is particularly useful when placing street lights along a curved road, trees along a landscape boundary or repeated symbols along a route.

Practical example: placing lights in a building

Suppose an office floor requires 30 identical ceiling lights arranged in 6 columns and 5 rows. With manual copying, you would need to repeat the same positioning operation many times and carefully maintain the correct spacing.

Instead, place one light, run ARRAYRECT, set 6 columns and 5 rows, then enter the required horizontal and vertical spacing. If the room layout later changes and only five columns are required, you can edit the array rather than deleting and recreating every light.

The same principle applies to other ARRAY types. If the objects need to follow a circle, use ARRAYPOLAR. If their position is controlled by a line or curve, use ARRAYPATH.

Why ARRAY is better than repeated COPY commands

The main advantage is not simply that ARRAY creates many objects quickly. It keeps the repetition organised. Spacing, quantity and distribution can be controlled systematically, reducing the chance of small positioning differences caused by manual copying.

Arrays are also easier to change. Instead of selecting and repositioning dozens of individual objects, you can modify the array parameters using the Ribbon, Properties or multifunctional grips. GstarCAD also provides ARRAYEDIT for editing an associative array and its source object.

Tip

If you expect the number of objects or their spacing to change during the project, keep the array editable instead of exploding it into separate objects. This makes later revisions much easier.

When should you use ARRAY?

Use an ARRAY whenever the same geometry follows a predictable pattern. Choose ARRAYRECT for grids, ARRAYPOLAR for circular arrangements and ARRAYPATH when objects need to follow a line or curve. Once these three options become part of your normal workflow, many repetitive drafting tasks can be completed with one controlled operation instead of a long series of copy, move and rotate commands.

All tips Updated 25 September 2026
Continue learning
View all tips

Ready to switch to GstarCAD?

Get personalized advice on licensing, migration, and deployment for your business.

Contact us Buy now

No obligation — reply within 24h

Your Cart

Subtotal

Price does not include local taxes or duties.

Proceed to Checkout

Cookie preferences

Choose which cookies you want to allow. Essential and payment cookies cannot be disabled as they are required for the site to function.

Essential

Required

Core functionality including authentication, shopping cart, and language preferences.

Payment

Required

Required for processing payments securely through Stripe and PayPal.

Analytics

Help us understand how visitors interact with our site to improve the experience.

Marketing

Used to deliver relevant advertisements and measure campaign performance.

Functional

Order attribution and traffic source tracking to help us understand how customers find our store.