BlockPalette with File/Folder Parameter?

BlockPalette with File/Folder Parameter?

CNinBC
Advocate Advocate
442 Views
8 Replies
Message 1 of 9

BlockPalette with File/Folder Parameter?

CNinBC
Advocate
Advocate

Is there a command or script allows BlockPalette to be opened on specific folder or files?

 

something like (Command "BlockPalette" " C:\\CAD\\Blocks\\WaterValves.dwg")

 

Thanks.

0 Likes
443 Views
8 Replies
Replies (8)
Message 2 of 9

ryanatkins49056
Contributor
Contributor

With the blocks pallet open there should be a tab called Libraries. Within that tab if you navigate to WaterValves.dwg, each time you reopen the blocks pallet tab that should be the default.

0 Likes
Message 3 of 9

DGCSCAD
Collaborator
Collaborator

If you're meaning Design Center:

 

(command "adcnavigate" "yourpathhere")

 

For "yourpathhere" use double backslashes for folder separations, i.e.:

 

C:\\Sample\\SampleSub\\Blocks <---will open DC to a folder

C:\\Sample\\SampleSub\\Blocks\\MyBlock.dwg\\Blocks <---will open DC to a specific drawing and display the blocks within

 

 

AutoCad 2018 (full)
Win 11 Pro
0 Likes
Message 4 of 9

CNinBC
Advocate
Advocate

thanks for replying to this, my intention is to create a button on the tool palette to guide CAD users to load different block library from separated DWG sources onto their block palette, don't want them to navigate to those files manually.

0 Likes
Message 5 of 9

CNinBC
Advocate
Advocate

Thanks for the advice, my intention is using the Block Palette on Autocad/Civil 3D 2024, I am aware of the Design Center option, just wondering if the Block Palette has the same parameter as the Design Center.

0 Likes
Message 6 of 9

DGCSCAD
Collaborator
Collaborator

Ah, ok. Thank you for clarifying.

 

Most times Civil3D questions posted over in the Civil3D forum will get you more accurate responses.

AutoCad 2018 (full)
Win 11 Pro
0 Likes
Message 7 of 9

Sea-Haven
Mentor
Mentor

Have you looked at old fashioned pop menu's they can be seperated by type.

SeaHaven_2-1736401083229.png

 

 

 

 

 

0 Likes
Message 8 of 9

CNinBC
Advocate
Advocate

is this a build-in function or an add-on to CAD? Thanks.

0 Likes
Message 9 of 9

komondormrex
Mentor
Mentor

@CNinBC wrote:

Is there a command or script allows BlockPalette to be opened on specific folder or files?

 

something like (Command "BlockPalette" " C:\\CAD\\Blocks\\WaterValves.dwg")


(setvar 'blocknavigate "C:\\CAD\\Blocks\\")

Blocks Pallete -> Libraries

0 Likes