Author Topic: ADT Properties  (Read 2761 times)

0 Members and 1 Guest are viewing this topic.

cadman6735

  • Guest
ADT Properties
« on: August 25, 2011, 03:52:37 PM »
How do I access Style Manager (Wall Style Override)  Plot Style properties?


irneb

  • Water Moccasin
  • Posts: 1794
  • ACad R9-2016, Revit Arch 6-2016
Re: ADT Properties
« Reply #1 on: August 25, 2011, 04:48:17 PM »
"Simple" answer is: "You don't"  :realmad: ADesk deemed it "unnecessary" for any lispers to be able to work with AEC objects. Apparently they've added properties in 2012 which "may" allow you to now work on these, see this thread: http://www.theswamp.org/index.php?topic=39259.0

Or else look at the Wiki I've started about ways of getting Lisp "evolved" from extinction  :lmao: : http://alisp-ext.wikidot.com/home
Common sense - the curse in disguise. Because if you have it, you have to live with those that don't.

cadman6735

  • Guest
Re: ADT Properties
« Reply #2 on: August 26, 2011, 09:27:09 AM »
but it can be done via ObjectARX?  C++ or .NET???


Jeff H

  • Needs a day job
  • Posts: 6150
Re: ADT Properties
« Reply #3 on: August 26, 2011, 09:45:44 AM »
but it can be done via ObjectARX?  C++ or .NET???
Yes sir

jbuzbee

  • Swamp Rat
  • Posts: 851
Re: ADT Properties
« Reply #4 on: August 26, 2011, 11:12:21 AM »
AEC objects are a MESS!  Terribly conceived and executed.  Some of the data is in the style, some in dictionaries, and extension dictionaries.  They don't import cleanly via ObjectDBX, and, and, well they smell funny too.

/rant-off/
James Buzbee
Windows 8

cadman6735

  • Guest
Re: ADT Properties
« Reply #5 on: August 26, 2011, 06:13:19 PM »
 :lmao:  "smell funny"   :lmao:

Ok, I spent the day manualy changing all of my plot Style for walls and am able to copy paste them via Style Manager to override any old files I come across.  I can load them into a blanc file via a crafty little macro AlanJT showed me

Code: [Select]
    (command "_.-insert" "Wall Styles - Brick (Imperial)=" nil)

    (command "_.-purge" "Block" "Wall Styles - Brick (Imperial)" "No")


My question now:  Is there a way to macro load wall styles and material definitions via lisp and have them over write the existing styles vs. only bring in new and leaving the existing alone?
« Last Edit: August 26, 2011, 06:18:02 PM by cadman6735 »

Jeff H

  • Needs a day job
  • Posts: 6150
Re: ADT Properties
« Reply #6 on: August 27, 2011, 04:05:53 AM »
http://www.theswamp.org/index.php?topic=39291.0
I could refactor it to be able to call it from Lisp and and abstract it out for general use.
It helped pick up a couple things about the API.