Challenge

Week - 6 - Creating the GUI for final checks

Objective:

To create GUI for deleting the empty components, assemblies and also to delete unused properties and materials.

Also to create GUI for deleting the entities and temp nodes.

Procedure:

Intially for executing the command, its must to create the 'procedure'. Using those proc command the GUI buttons are created.

'proc empty' is used to delete all the empty components, assemblies, load collectors.

'proc unsed' is used to delete all the unused properties and materials.

'proc del_nodes' is used to delete nodes.

'proc entities' is used to delete other entities like solids, surface, lines and points.

Note that all the entities are deleted using proc entities and only for nodes different proc is used. All this is because you need to use different command for removing temp nodes.

hm-marklength command is used to collect the quantity of argument which helps in stop showing error while none of the entity is selected.

if statement is used to execute the above command.

Similarly create the proc for reorder and renumbering the components, assemblies and part in the tree.

Respective command is used to execute the reorder and renumbering command.

The master button is created which executes all the commands which deletes all the empty unused components, properties and rearrange all the entities and renumber them.

Result:

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.