Tips & Tricks

This channel provides Gstarsoft Tips & Tricks, in order for you to better use Gstarsoft.

Dynamic Block Creation (Visibility)

2018-03-13 1238 GstarCAD  

Using the Visibility Parameter function, you can control the display and hide a certain view in Dynamic Block.

1. Prepare view: 

Draw three cars as below and define all of them as block.


2. Add Parameter of Visibility: 

Enter into Block Editor by Double-clicking the block or right- click the menu, click the button Visibility of Parameter in the Parameter panel, appoint the position of the Parameter according to the system prompt, as shown below.


3. Edit Visibility States: 

Click the visibility states button, then the Visibility States dialog box will be displayed. In the dialog box, you can rename, create new and remove Visibility States. In order to control the visibility of the three cars view in this example, we click new option for the three Visibility States as shown in the picture.  


Click the following button as shown in the picture and choose roadster in the pull down menu.  


Click the “Invisibility” button in the Visibility tool panel, select truck and car drawings, then make them invisible in the “roadster” state, as shown in the following picture, after selecting, press enter to confirm. For the state of “Car” and “Truck”, set them in the same way.


4. Move and Adjust:

 After finishing the editing of the Visibility States, move the three cars view to make them overlap each other as shown in the picture bellow.


5. Test Dynamic Block: 

Insert the Dynamic Block into a drawing, select Dynamic Block and click the grip of Visibility Parameter, choose one item in the pull-down list, Dynamic Block will change the display state automatically, as shown in the following picture.


Welcome to the GstarCAD Support center, where you can find Tips & Tricks, and troubleshooting resources, etc. for CAD 2023 . To View details, you can visit CAD 2023 overview, Download and buy online

Subscribe for expert design tips delivered to your inbox.
Subscribe
By signing up,you agree to our Terms of Use and Privacy Policy.We may use the info you submit to contact you and use data form third parties to personalize your experience.
YOU MIGHT ASLO BE INTERESTED IN

For your better experience on our website and the display of relevant information, cookies will be used. Learn More

Accept