Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Select all blocks in drawing, inclusing paperspace

14 REPLIES 14
SOLVED
Reply
Message 1 of 15
jeroendewind
9625 Views, 14 Replies

Select all blocks in drawing, inclusing paperspace

jeroendewind
Enthusiast
Enthusiast

Hi,

 

How is it possible to select all blocks (1 per layout tab) in my drawing? I want to select them all to make (the same) changes to all the attributes.

 

I've found something with (ssget "_X" '((0 . ""))) etc. but I have no idea what to do with that.

 

Thanks

0 Likes

Select all blocks in drawing, inclusing paperspace

Hi,

 

How is it possible to select all blocks (1 per layout tab) in my drawing? I want to select them all to make (the same) changes to all the attributes.

 

I've found something with (ssget "_X" '((0 . ""))) etc. but I have no idea what to do with that.

 

Thanks

14 REPLIES 14
Message 2 of 15
imadHabash
in reply to: jeroendewind

imadHabash
Mentor
Mentor

Hi,

 

I suggest to use FIND command which will search all needed attributes including layouts and will change it in one command.

Imad Habash

EESignature

0 Likes

Hi,

 

I suggest to use FIND command which will search all needed attributes including layouts and will change it in one command.

Imad Habash

EESignature

Message 3 of 15
jeroendewind
in reply to: imadHabash

jeroendewind
Enthusiast
Enthusiast

They're still blank, so there's not much to 'find'.

 

I also tried the command battman. It shows the total amount of blocks in my *.dwg, and I'm able to make adjustements to all the attributes, but theres no option to give fill in the attributes.

0 Likes

They're still blank, so there's not much to 'find'.

 

I also tried the command battman. It shows the total amount of blocks in my *.dwg, and I'm able to make adjustements to all the attributes, but theres no option to give fill in the attributes.

Message 4 of 15
imadHabash
in reply to: jeroendewind

imadHabash
Mentor
Mentor

would you please attache those attributes here as CAD file and till us what is the text that you want to change and to what?

Imad Habash

EESignature

0 Likes

would you please attache those attributes here as CAD file and till us what is the text that you want to change and to what?

Imad Habash

EESignature

Message 5 of 15
jeroendewind
in reply to: imadHabash

jeroendewind
Enthusiast
Enthusiast

It's kinda hard to explain but I'll give it a shot.

 

The block is now empty. When I need to create a new version, I want to add a '4' to the block. When it's the 3rd version, I want to have 3 times a '4' in my block. I can't use the visibility parameter, since I used that one to select the person who made the drawing.

 

I can easily replace the attributes by normal text, since it's always a 4. But that means every page (tab) has the same version, and that's not always the case. I want to keep them as attributes to make changers per paper, but for now I want to select them all to set them all to the first revision.

 

It looks complicated, but the main question is quite simple: "How to select every block in my *.dwg (to fill in 1 or more attributes)?"

 

Thanks

0 Likes

It's kinda hard to explain but I'll give it a shot.

 

The block is now empty. When I need to create a new version, I want to add a '4' to the block. When it's the 3rd version, I want to have 3 times a '4' in my block. I can't use the visibility parameter, since I used that one to select the person who made the drawing.

 

I can easily replace the attributes by normal text, since it's always a 4. But that means every page (tab) has the same version, and that's not always the case. I want to keep them as attributes to make changers per paper, but for now I want to select them all to set them all to the first revision.

 

It looks complicated, but the main question is quite simple: "How to select every block in my *.dwg (to fill in 1 or more attributes)?"

 

Thanks

Message 6 of 15
john.vellek
in reply to: jeroendewind

john.vellek
Alumni
Alumni

Hi @jeroendewind,

 

It would be helpful to attach a sample file for me to look at so I am sure that I really understand what you are doing. 

 

There is no feature that will allow you to find the empty attributes especially across model and paperspace.

 

Have you considered using fields linked to custom drawing properties to do this instead? 


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Likes

Hi @jeroendewind,

 

It would be helpful to attach a sample file for me to look at so I am sure that I really understand what you are doing. 

 

There is no feature that will allow you to find the empty attributes especially across model and paperspace.

 

Have you considered using fields linked to custom drawing properties to do this instead? 


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
Message 7 of 15
jeroendewind
in reply to: john.vellek

jeroendewind
Enthusiast
Enthusiast

Here's an example of a drawing with my block.

 

All the info in the red block is automatically filled in by another program with all the project info. The block I made has info for that sheet only, and has a visibility state to select the person who made the drawing (including his signature, that's why it's a visibility parameter).

When I make the sheet final, it also automatically generates the green texts in Screenshot_4; version A, B, C etc. including date, person and reason for creating a new version. The problem is, every final version needs have a 4, and the program making the revisions only can only add an A, B, C etc. So that's why I made these attributes.

 

When I want to make all sheets final, version B for example, I want to select all the blocks in the *.dwg and fill in attribute A and B both with a 4.

I can do it sheet by sheet, but that takes a long time (it happens with other projects and blocks also) and I want to keep it as attributes since sometimes only sheet X needs to get a new version, and the others must stay the same.

 

Hope I explained it good,

Thanks,

Jeroen

0 Likes

Here's an example of a drawing with my block.

 

All the info in the red block is automatically filled in by another program with all the project info. The block I made has info for that sheet only, and has a visibility state to select the person who made the drawing (including his signature, that's why it's a visibility parameter).

When I make the sheet final, it also automatically generates the green texts in Screenshot_4; version A, B, C etc. including date, person and reason for creating a new version. The problem is, every final version needs have a 4, and the program making the revisions only can only add an A, B, C etc. So that's why I made these attributes.

 

When I want to make all sheets final, version B for example, I want to select all the blocks in the *.dwg and fill in attribute A and B both with a 4.

I can do it sheet by sheet, but that takes a long time (it happens with other projects and blocks also) and I want to keep it as attributes since sometimes only sheet X needs to get a new version, and the others must stay the same.

 

Hope I explained it good,

Thanks,

Jeroen

Message 8 of 15

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> Hope I explained it good,

Yes, but have you seen John's suggestion about using fields based on custom drawing properties? That would solve your question afaik.

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2024
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes

Hi,

 

>> Hope I explained it good,

Yes, but have you seen John's suggestion about using fields based on custom drawing properties? That would solve your question afaik.

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2024
------------------------------------------------------------------------------------

(not an Autodesk consultant)
Message 9 of 15

jeroendewind
Enthusiast
Enthusiast

@Alfred.NESWADBA wrote:

Hi,

 

>> Hope I explained it good,

Yes, but have you seen John's suggestion about using fields based on custom drawing properties? That would solve your question afaik.

 

- alfred -



@john.vellek wrote:

 

 

Have you considered using fields linked to custom drawing properties to do this instead? 


 I did now, tho I'm unaware how to use fields. Gonna search how to use them, thanks!

0 Likes


@Alfred.NESWADBA wrote:

Hi,

 

>> Hope I explained it good,

Yes, but have you seen John's suggestion about using fields based on custom drawing properties? That would solve your question afaik.

 

- alfred -



@john.vellek wrote:

 

 

Have you considered using fields linked to custom drawing properties to do this instead? 


 I did now, tho I'm unaware how to use fields. Gonna search how to use them, thanks!

Message 10 of 15

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> I'm unaware how to use fields. Gonna search how to use them

>>>that video<<< could be a good point to start 😉

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2024
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes

Hi,

 

>> I'm unaware how to use fields. Gonna search how to use them

>>>that video<<< could be a good point to start 😉

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2024
------------------------------------------------------------------------------------

(not an Autodesk consultant)
Message 11 of 15
john.vellek
in reply to: jeroendewind

john.vellek
Alumni
Alumni

Hi @jeroendewind,

 

Did the video made by Volker help you get started with fields? If not I will slap him a bit as he sits right next to me 🙂

 

Seriously, if that did not give you enough to get this working, please add a post so I can give you more support and/or resources.

 

 


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Likes

Hi @jeroendewind,

 

Did the video made by Volker help you get started with fields? If not I will slap him a bit as he sits right next to me 🙂

 

Seriously, if that did not give you enough to get this working, please add a post so I can give you more support and/or resources.

 

 


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
Message 12 of 15
jeroendewind
in reply to: john.vellek

jeroendewind
Enthusiast
Enthusiast

Thanks for the help. I've learned some new stuff using fields.

But I don't know the difference between a text in a block with my name or using the commando fields to insert author in my block and then change it all in my drawing properties. Both give the same result: in every block my name.

0 Likes

Thanks for the help. I've learned some new stuff using fields.

But I don't know the difference between a text in a block with my name or using the commando fields to insert author in my block and then change it all in my drawing properties. Both give the same result: in every block my name.

Message 13 of 15
john.vellek
in reply to: jeroendewind

john.vellek
Alumni
Alumni
Accepted solution

Hi @jeroendewind,

 

I prepared a short Screencast for you on how you can link fields to custom drawing properties. I hope this leads to a solution for you.

 

Please let me know if I am misunderstanding your question.

 

Please select the Accept as Solution button if my post solves your issue or answers your question.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Likes

Hi @jeroendewind,

 

I prepared a short Screencast for you on how you can link fields to custom drawing properties. I hope this leads to a solution for you.

 

Please let me know if I am misunderstanding your question.

 

Please select the Accept as Solution button if my post solves your issue or answers your question.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
Message 14 of 15
john.vellek
in reply to: jeroendewind

john.vellek
Alumni
Alumni

Hi @jeroendewind,

 

I am checking back to see if my post helped you with your problem or if you need additional assistance or information. Please add a post with how you decide to proceed and your results so other Community members may benefit.

Please hit the Accept as Solution button if my post fully solves your issue or answers your question.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Likes

Hi @jeroendewind,

 

I am checking back to see if my post helped you with your problem or if you need additional assistance or information. Please add a post with how you decide to proceed and your results so other Community members may benefit.

Please hit the Accept as Solution button if my post fully solves your issue or answers your question.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
Message 15 of 15
jeroendewind
in reply to: john.vellek

jeroendewind
Enthusiast
Enthusiast

Thanks, very usefull. Trying to use it on a new project!

0 Likes

Thanks, very usefull. Trying to use it on a new project!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report