# XPLODE Command [GstarCAD 2024](Help%20System/GSTARCAD/2024/Index.md) → [Commands](Help%20System/GSTARCAD/2024/Commands/(Commands).md) → [X](Help%20System/GSTARCAD/2024/Commands/X/(X).md) ## Function Description: This command is used to explode a compound object into its component objects. ## Command Access: > **Icon:** / > **Menu:** / > **Ribbon:** / > **Toolbar:** / > **Command:** XPLODE > **Alias:** XP ## Command Prompts: ``` Select object: Enter an option[All/Color/LAyer/LType/LWeight/Inherit from parent block/Explode] <Explode>: ``` ## **All** Specifies the color, linetype, lineweight and layer of the component objects. It displays relative command prompts. ## **Color** Specifies the color of component objects that exploded by the compound object. Enter "bylayer" to inherit the layer color of the compound object. Enter "byblock" to inherit the color of the compound object. Enter "t" to apply a true color on the specified object. Enter "co" to apply a color from a loaded Color book on the specified object. ## **LAyer** Specifies the layer of the component objects that exploded by the compound object. The default layer is the current layer. ## **LType** Specifies the linetype of the component objects that exploded by the compound object. Enter "bylayer" to inherit the linetype of the compound object. ## LWeight Specifies the lineweight of the component objects that exploded by the compound object. ## **Inherit from parent block** If the component objects are created on layer "0" and their color, linetype and lineweight are "BYBLOCK" . ## **Explode** Explodes a compound object into components, this is the same as the EXPLODE command. --- **Related References:** - [Commands about Basic Blocks](Help%20System/GSTARCAD/2024/Commands/00%20Command%20Groups/Commands%20about%20Basic%20Blocks.md) **Related Tasks:** - [To Modify a Block Reference](Help%20System/GSTARCAD/2024/Commands/01%20Procedures/To%20Modify%20a%20Block%20Reference.md) - [To Explode a Block Reference](Help%20System/GSTARCAD/2024/Commands/01%20Procedures/To%20Explode%20a%20Block%20Reference.md) --- [Original help](https://www.gstarcad.net/help/GstarCAD_2024_en-US/detail/commandReferences/XPLODE.html) · © Gstarsoft Co., Ltd.