# ROTATE3D Command
[GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [Commands](Help%20System/GSTARCAD/2027/Commands/(Commands).md) → [R](Help%20System/GSTARCAD/2027/Commands/R/(R).md)
## Function Description:
This command is used to rotate objects around a 3D axis.
## Command Access:
> **Icon:** /
> **Menu:** /
> **Ribbon:** /
> **Toolbar:** /
> **Command:** ROTATE3D
> **Alias:** /
## Command Prompts:
```
Select object:
Specify first point on axis or define axis by
[Object/Last/View/Xaxis/Yaxis/Zaxis/2points]:
```
## **Object**
Aligns the selected object to the rotation axis.
- **Line:**
Aligns the selected object to the rotation axis.
- **Angle:**
Rotates the object around the selected line by a specified angle.
- **Reference:**
Specifies reference angle and new angle. The difference value between the start angle and endpoint angle is the rotation angle.

- **Circle:**
Aligns the rotation axis to the 3D axis of the circle (the rotation axis passes through the circle center and is perpendicular to the circle plane).

- **Arc:**
Aligns the rotation axis to the 3D axis of the arc (the rotation axis passes through the arc center and is perpendicular to the arc plane).
- **2D-polyline segment:**
Aligns the rotation axis to the polyline. The line in polyline can be seemed as a line segment and the arc in polyline can be seemed as an arc segment.
## **Last**
Rotates the selected object by the previous axis.
## **View**
Aligns the rotation axis to the observation direction of the current viewport that passes through the specified point.
## **Xaxis, Yaxis, Zaxis**
Aligns the rotation axis to one of the axes (X, Y or Z) that pass through the selected point.
## **2points**
Specifies the rotation axis by two points.

---
**Related References:**
- [Commands about Moving, Rotating and Scaling 3D Objects (GstarCAD 2026)](../../../2026/Commands/00%20Command%20Groups/Commands%20about%20Moving%2C%20Rotating%20and%20Scaling%203D%20Objects.md)
**Related Tasks:**
- [To Rotate 3D Objects (GstarCAD 2026)](../../../2026/Commands/01%20Procedures/To%20Rotate%203D%20Objects.md)
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/commandReferences_R/ROTATE3D.html) · © Gstarsoft Co., Ltd.