I'm having a problem with what seems to be phantom Object Data on some block objects. I've attached a sample of the data for anyone who's interested, but here's what's going on...
I have a number of catchbasin blocks that have attached OD with a single CB_ID field used to number them all. The properties of each block only show a single OD record attached and they are all populated with non-zero integers, but if I set up a map in my task pane and add a layer using "Query current drawing" then base the query on the OD where CB_ID = 0, it includes all of the catchbasins in the drawing. As I said, it appears that the Catchbasins OD table is somehow attached twice, although it only shows up once.
I've tried audit, recover, wblock out to various older versions and bring it back in, but I can't seem to rid myself of this mystery table. Does anyone know how to get rid of it?
Solved! Go to Solution.
Solved by braudpat. Go to Solution.
Hello from France
I have just loaded your DWG and I don't like something !
MAP 2011 : open your DWG in Recover Mode --> Fatal Error : Unhandled Access Violation Reading 0x0000 Exception
MAP 2012 : open your DWG in Recover Mode --> Fatal Error : Unhandled Access Violation Reading 0x0000 Exception
MAP 2013 : Open in Recover Mode = OK
MAP 2014 : Open in Recover Mode = OK
Which specific application have you above your MAP (If you have one) ?
You have XDATA (AutoCAD) and Object Data (MAP) on some entities ... interesting ...
I will investigate a little bit more later ...
Bye, Pat
Patrice BRAUD
The drawing was saved in R2013 format, so that likely explains your two fatal errors.
"Which specific application have you above your MAP (If you have one) ?"
Nothing, I'm running plain jane Map 3D 2014 SP1.
Thanks for taking a look.
Hello from France
2nd Audit ... You have a problem with your 18 F204 blocks which have 2 OD records on each
You must delete the 2nd OD record with ADEEDITDATA
1) ADEEDITDATA - CLIC on a F204 block : Next (Record) / Delete Record / OK then next Block ...
2) MAPEXPORT (will use the 1st OD Record = the GOOD one) then MAPIMPORT with the F204 Block name
and you will get back your 18 F204 blocks with ONLY ONE OD record (the GOOD one)
Do you see that I mean ?
I don't check the OTHERS blocks but you could have the same problem !?
Waiting ...
Bye, Pat (OK after Dinner)
Patrice BRAUD
Hello
3rd audit ... The 4 F220 blocks have XDATA Infos and NO MAp Object Data >>>
Commande: XDLIST
Initialisation...
Choix de l'objet:
Enter application name <*>:
* Registered Application Name: DCO15
* Code 1071, 32-bit signed long integer: 10
* Code 1071, 32-bit signed long integer: 10
* Code 1000, ASCII string: tblSDnodeSpatialData
* Code 1004, Binary data not printed.
Object has 16339 bytes of Xdata space available.
<<<
There are theorically linked to a database through a SQL Link (or something else) ...
I am right ???
Bye, Pat
Patrice BRAUD
Well this looks like a step forward, I wasn't familiar with the ADEEDITDATA command, thanks Pat.
MAPEXPORT/MAPIMPORT will probably work well for most of the cleanup, but it has one fairly serious drawback in that the MAPIMPORT lacks the ability to rotate the blocks during insertion. So I can clean-up this bunged-up OD easily, but I mess up my drawing along the way.
Hello
4th Audit ...
The other Blocks (202, 203, 204) have nothing : NO XData (AutoCAD) , NO Object Data (MAP)
The Lines & PLines on the UD01 layer have XData (SQL Link or something else ?) AND Object Data
Waiting for your answers and tests
Bye, Pat
Patrice BRAUD
Hello
>>> but it has one fairly serious drawback in that the MAPIMPORT lacks the ability to rotate the blocks during insertion <<<
Sorry but OF COURSE MAPIMPORT can create Blocks (since a long time ago) during a MAPIMPORT of XYZ Points !!
MAPIMPORT / Choose your SHP Point XY file (coming from the MAPEXPORT)
then in the last column "Points" - CLICK and then choose your GOOD block = F204
You see ??
Bye, Pat
Patrice BRAUD
Hello
SORRY you right : I don't read correctly your post !
So during the MAPEXPORT, you must add the .ROTATION AutoCAD property : you will get the Rotation in Radian inside the SHP (or TAB or MIF-MID)
Then MAPIMPORT and you will get the Blocks and all the fields in OD (with the famous Rotation in Radians)
I know that all blocks are NOW horizontal !
Next step :
From a blank DWG (beware of the Units) you will use the drawings Group feature of MAP
and then you will define a Query that will draw the F204 block with a New rotation coming the Object Data field ROTATION !
Do you see that I mean ?
Bye, Pat
Patrice BRAUD
Hello (Sorry for my bad US/English)
Sorry I have forgotten something ... The RADIANS "problem" !
In the blank DWG, please : UNITS are correct --- BUT you must set temporary the angle system as RADIANS !!
So when you will do the Query (in Draw mode) and says draw with a new rotation
coming from the MAP Object Data field ROTATION (which is in Radians) : NO PROBLEM !
After the Query in Draw Mode, you will set back the angle system to decimal or grads ...
I hope this will satisfy your needs !?
I am often doing this for the lack of ROTATION when doing MAPIMPORT ... If I have the ROTATION Info !?
Bye, Pat (Maybe a Kudos will be appreciated)
Patrice BRAUD
Can't find what you're looking for? Ask the community or share your knowledge.