Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

BlockPalette with File/Folder Parameter?

CNinBC
Advocate

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
Reply
236 Views
8 Replies
Replies (8)

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

DGCSCAD
Advocate
Advocate

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

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

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

DGCSCAD
Advocate
Advocate

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

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

CNinBC
Advocate
Advocate

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

0 Likes

komondormrex
Advisor
Advisor

@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