Author Topic: "Entity" and "Object"  (Read 13657 times)

0 Members and 1 Guest are viewing this topic.

MickD

  • King Gator
  • Posts: 3637
  • (x-in)->[process]->(y-out) ... simples!
Re: "Entity" and "Object"
« Reply #30 on: November 06, 2006, 07:59:41 PM »
Dino', it sounds like they have created another symbol table/dictionary similar to layers and dim styles. IOW you must give it a style as you would a layer only it sounds like your styles are much more involved and therefore harder to set up on the fly.
"Programming is really just the mundane aspect of expressing a solution to a problem."
- John Carmack

"Short cuts make long delays,' argued Pippin.”
- J.R.R. Tolkien

Dinosaur

  • Guest
Re: "Entity" and "Object"
« Reply #31 on: November 06, 2006, 08:47:23 PM »
Dino', it sounds like they have created another symbol table/dictionary similar to layers and dim styles. IOW you must give it a style as you would a layer only it sounds like your styles are much more involved and therefore harder to set up on the fly.
I am not even sure if it is possible to do.  The labels I put on those curves in the sample drawing are only displaying a fraction of the data available to compose a label.  I just counted 38 different bits of data that could be displayed with that curve label.  If that was still insufficient, I can add any text wanted to the style and place it wherever I wished; if I decided to go rogue, the entire label could be composed of nothing but text I compose or import from a file.  The lines, blocks and arrows can also be added, moved or deleted as desired and any of the conventional properties of these items can be specified at this point to override the default values defined in the drawing.  It is again more like a database query being displayed on a form that looks like a drawing than a real drawing.

Dinosaur

  • Guest
Re: "Entity" and "Object"
« Reply #32 on: November 09, 2006, 01:13:36 PM »
I used THIS little tool from ronjonp on one of the profiles in my sample drawing that yielded the following output.  I am much more adept at code thievery than interpretation and don't know much about what it has reported.  Does something like this have promise for any customizations?  Incidentally, I purposely picked one of the labels to get this report but my best guess is that this report is for the entire profile.


Code: [Select]
VLAXPROP
Select Entity to Display it's Data: ; IAeccProfile: IAeccAlignEntity Interface
; Property values:
;   Alignment (RO) = #<VLA-OBJECT IAeccAlignment 128899e0>
;   Application (RO) = #<VLA-OBJECT IAeccApplication 128cbc80>
;   Description = ""
;   DisplayName (RO) = "Layout (1)"
;   Document (RO) = #<VLA-OBJECT IAeccDocument 128cac60>
;   Dynamic = 0
;   ElevationMax (RO) = 1022.5
;   ElevationMin (RO) = 973.486
;   EndingStation (RO) = 1867.5
;   Handle (RO) = "613F"
;   HasExtensionDictionary (RO) = 0
;   Hyperlinks (RO) = #<VLA-OBJECT IAcadHyperlinks 128cfd04>
;   IsReverseStationing (RO) = 0
;   Layer = "profile"
;   Length (RO) = 1867.5
;   Linetype = "ByLayer"
;   LinetypeScale = 1.0
;   Lineweight = -1
;   Name = "Layout (1)"
;   ObjectID (RO) = 2124674360
;   ObjectName (RO) = "AeccDbVAlignment"
;   Offset = 0.0
;   OwnerID (RO) = 2125425912
;   Plinegen = -1
;   PlotStyleName = "ByLayer"
;   PVIs (RO) = #<VLA-OBJECT IAeccProfilePVIs 128c8db0>
;   SampledEndingStation (RO) = 0.0
;   SampledStartingStation (RO) = 0.0
;   ShowLabels = -1
;   ShowToolTip = -1
;   StartingStation (RO) = 0.0
;   Style = #<VLA-OBJECT IAeccProfileStyle 128d2b70>
;   StyleName (RO) = "Finished Ground"
;   Surface (RO) = nil
;   TrueColor = #<VLA-OBJECT IAcadAcCmColor 128d3fd0>
;   Type = 2
;   Visible = -1
;   WeedGradeFactor (RO) = 30.0
; Methods supported:
;   ArrayPolar (3)
;   ArrayRectangular (6)
;   Copy ()
;   Delete ()
;   ElevationAt (1)
;   GetBoundingBox (2)
;   GetExtensionDictionary ()
;   GetXData (3)
;   Highlight (1)
;   InstantGrade (2)
;   IntersectWith (2)
;   Mirror (2)
;   Mirror3D (3)
;   Move (2)
;   Rotate (2)
;   Rotate3D (3)
;   ScaleEntity (2)
;   SetXData (2)
;   TransformBy (1)
;   Update ()
nil