Author Topic: Civil 3D | Parcels  (Read 39924 times)

0 Members and 2 Guests are viewing this topic.

BlackBox

  • King Gator
  • Posts: 3770
Re: Civil 3D | Parcels
« Reply #15 on: August 28, 2012, 06:54:29 PM »
Would it be logical then (conceptually speaking, as I'm on my iPhone), to employ a simple Command Reactor to 'cleanup' after import?

Unless the command is 'transparent' to the Reactor, monitoring the :vlr-CommandCancelled, :vlr-CommandEnded, and :vlr-CommandFailed Events should do the trick, methinks.
"How we think determines what we do, and what we do determines what we get."

jawbreaker31

  • Guest
Re: Civil 3D | Parcels
« Reply #16 on: July 16, 2014, 03:28:39 PM »
I guess I'm late to the Phantom Parcel party, but I would like for this to work in 2014.  Would it be possible to modify once more to add that into the lisp?  I tried on my end by adding ((vl-string-search "19.1" vrsn) "11.0") to the mix but that doesn't appear to do the trick. :-o

Thanks

Jeff_M

  • King Gator
  • Posts: 4086
  • C3D user & customizer
Re: Civil 3D | Parcels
« Reply #17 on: July 16, 2014, 03:56:11 PM »
adding ((vl-string-search "19.1" vrsn) "11.0") to the mix but that doesn't appear to do the trick.
For 2014 use "10.3", not "11.0". For 2015 this will be "10.4"

BlackBox

  • King Gator
  • Posts: 3770
Re: Civil 3D | Parcels
« Reply #18 on: July 16, 2014, 05:19:47 PM »
adding ((vl-string-search "19.1" vrsn) "11.0") to the mix but that doesn't appear to do the trick.
For 2014 use "10.3", not "11.0". For 2015 this will be "10.4"

Thanks Jeff - Code updated here (untested).

Cheers
"How we think determines what we do, and what we do determines what we get."

CADventurer

  • Guest
Re: Civil 3D | Parcels
« Reply #19 on: October 24, 2014, 10:03:19 AM »
I copied the latest code into an .lsp file and ran the command AECCDELETEPARCELS as indicated and selected ALL. but, it deleted 0 Parcels. Am I missing something?

Using 2014 SP2

BlackBox

  • King Gator
  • Posts: 3770
Re: Civil 3D | Parcels
« Reply #20 on: October 24, 2014, 10:17:07 AM »
... Am I missing something?

Not sure; do you have phantom parcels in your drawing?

If so, and the routine still doesn't work, try posting a drawing.
"How we think determines what we do, and what we do determines what we get."

TonyatAlpha

  • Guest
Re: Civil 3D | Parcels
« Reply #21 on: November 25, 2014, 11:00:02 AM »
I know this is a month late, but I've just found these "ghost" parcels in my template drawing file and would like to find a way to get rid of them.  I've tried using the lisp routine but it does not work.

Civil 3d 2014.  I have attached my template file. There are 1853 "ghost" parcels in the file.

should i just grab all my styles and settings and start with a fresh drawing.

any help would be greatly appreciated

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: Civil 3D | Parcels
« Reply #22 on: November 25, 2014, 11:25:10 AM »
I don't see any 'parcels' in either Site 1 or Survey Site, in this file attached.
Be your Best


Michael Farrell
http://primeservicesglobal.com/

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: Civil 3D | Parcels
« Reply #23 on: November 25, 2014, 11:25:53 AM »
I know this is a month late, but I've just found these "ghost" parcels in my template drawing file and would like to find a way to get rid of them.  I've tried using the lisp routine but it does not work.

Civil 3d 2014.  I have attached my template file. There are 1853 "ghost" parcels in the file.

should i just grab all my styles and settings and start with a fresh drawing.

any help would be greatly appreciated

what error message IF any do you get from the LISP file?
Be your Best


Michael Farrell
http://primeservicesglobal.com/

TonyatAlpha

  • Guest
Re: Civil 3D | Parcels
« Reply #24 on: November 25, 2014, 11:29:20 AM »
It just says it deleted 0 objects, I don't get any error popups or anything

AECCDELETEPARCELS
Enter an option [All/Select]<Select>: A

Working, please wait... 0 parcels removed.

Command:

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: Civil 3D | Parcels
« Reply #25 on: November 25, 2014, 11:45:41 AM »
...I see no ghosts...
Be your Best


Michael Farrell
http://primeservicesglobal.com/

BlackBox

  • King Gator
  • Posts: 3770
Re: Civil 3D | Parcels
« Reply #26 on: November 25, 2014, 11:51:40 AM »
Michael,

After an offline conversation, I was emailed a drawing with phantom parcels, where the user reported similar issue using 2014 SP2.

I've personally tested their drawing, using 2014 SP2 and can confirm the failure now being reported (a failure that I did not experience previously)... The vl-Catch-All-Apply call is precluding the following error from being reported, when the Remove() Method is invoked on the oSites Object:

Code: [Select]
Civil 3D API: The parameter is incorrect.

I've verified that the API allows for either Name (string), Object reference as parameter for the Remove() Method (and have tried both variations), yet the call throws an exception nonetheless.

I've been exploring a .NET alternative, but do not have anything more conclusive to add at this time.
"How we think determines what we do, and what we do determines what we get."

BlackBox

  • King Gator
  • Posts: 3770
Re: Civil 3D | Parcels
« Reply #27 on: November 25, 2014, 11:54:21 AM »
...I see no ghosts...

That's kind of the point... 1800+ Parcels selected with QSELECT Command, Select All option.
"How we think determines what we do, and what we do determines what we get."

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: Civil 3D | Parcels
« Reply #28 on: November 25, 2014, 11:55:02 AM »
let me test again...
Be your Best


Michael Farrell
http://primeservicesglobal.com/

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: Civil 3D | Parcels
« Reply #29 on: November 25, 2014, 12:00:55 PM »
hmm, sucks that now the fix for this break in the application is NOW broken thanks to whatever fix they (autodesk) affected in SP2
Be your Best


Michael Farrell
http://primeservicesglobal.com/