Jump to content

Renumbering block atributte tags


Recommended Posts

Posted (edited)

Now I'm totally confused. If I insert the block named RK_PR_1 into the drawing I get to fill in all the attributes assigned to the block as I previously listed.

 

We are talking about an attributed block are we not?

Edited by ReMark
  • Replies 64
  • Created
  • Last Reply

Top Posters In This Topic

  • Kevin v/d Berg

    22

  • ReMark

    17

  • Tharwat

    14

  • Lee Mac

    7

Popular Days

Top Posters In This Topic

Posted

the code does not work i thing it is becase the atributes ar nestit whitin the block

Posted

We are talking about an attributed block are we not?

 

That's what I understood from his first post and from the thread title too .:)

 

What did you find in the attached drawings that he uploaded ? attributes or attributed block ?

Posted

OK...you want to change PNUM but what value to do want assigned to it? You keep mentioning X and Y coordinates but as I see it PNUM is just the number assigned to the survey point or boring location or monitoring well or whatever the block is supposed to represent. Heck, you can change the number easily using AutoCAD's FIND command and the REPLACE option. Or do you want to sequentially renumber all blocks?

Posted

its indeed a block whit atributes to asing specific properties aslijke a number orso to each block

Posted (edited)
That's what I understood from his first post and from the thread title too .:)

 

What did you find in the attached drawings that he uploaded ? attributes or attributed block ?

 

In the Test.dwg drawing I found numerous instances of one block and that block (RK_PR_1) had all the attributes I listed. I tested this by actually inserting the block into the drawing. As far as I am concerned the other drawing, RK_PR_1.dwg, adds nothing to the discussion.

Edited by ReMark
Posted

Now with your last modifications on the drawing , there are attributed blocks , and you would not see the changes of my

first code because all of their values are adjusted from smaller to bigger .

 

You may want to adjust the numbers of attributed block from left to right according to their locations . Am I right ?

Posted

From what i undertstand:

Number the blocks

From left to right

Top to bottom

 

Which means sort and renumber

 

Unfortunately i cannot open the file at all... :oops:

Posted (edited)
its indeed a block whit atributes to asing specific properties aslijke a number orso to each block

I've already said, multiple times, that RK_PR_1 is an attributed block. We are in agreement.

 

Do you want to change the value of PNUM to just another number? Yes or No?

 

Do you want to show the X and Y coordinates for each instance of the block (RK_PR_1) in the drawing? Yes or No?

Edited by ReMark
Posted
From what i undertstand:

Number the blocks

From left to right

Top to bottom

Which means sort and renumber

Unfortunately i cannot open the file at all... :oops:

 

I guess you're right pBe and that's what I mentioned in my last post .

 

Here is the drawing you can try also my friend . :)

TesT.dwg

Posted

yes i want to renumber the values of the atribute namend Pnum in a chosen oorder such as from left to right

Posted
but that would men i have to explode evry thing and thas not handy at al

No, you don't have to explode anything.

 

In your test drawing you seem to have multiple blocks with the same PNUM. Why is that? Is that the case in the actual drawing?

Posted
yes i want to renumber the values of the tag namend Pnum in a chosen oorder such as from left to right

 

I think if you upload an image of your last result of the drawing , it would be excellent . :)

Posted
yes i want to renumber the values of the atribute namend Pnum in a chosen oorder such as from left to right

 

How does one go about selecting the blocks if the value of PNUM is the same?

Posted

that's becaus if i copyd them and now i want to renumber them

i copit them becaus normely the have mor stuf addit lijk paal legt or newtons

Posted

Here is the drawing you can try also my friend . :)

 

Thats nice of you tharwat.... but this time its not the CAD version... but i have no CAD on my station at all :lol:..

i really messed up my laptop writing a program with "bad" intentions using another program not related to CAD.

 

No worries. i'll just watch for now

Posted

i have a standert libary wich i copy from and if thats done i want to reoorder the valus Pnum so the are in a logical setup

Posted

le macs progam ads a seprete atribute not inculdet in the block and is i have lijk 500 blocks it egts messy

Posted

lemac also wrote a progam that works perfectli only not if i put in 50 blocks then it messis op the count

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...