Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Getpropertyvalue with tables

0 REPLIES 0
Reply
Message 1 of 1
canis.correo
530 Views, 0 Replies

Getpropertyvalue with tables

hi
please someone can help me to get the data in a cell "X" (row column) in a table with this function "GetPropertyValue"
data showing "dumpallproperties" in a table are:

Command: (dumpallproperties e1 T)
Begin dumping object (class: AcDbTable)
AllowManualHeights (type: bool)  (RO)  (LocalName: Manual heights) = 0
AllowManualPositions (type: bool)  (RO)  (LocalName: Manual positions) = 0
Annotative (type: bool)  (RO)  (LocalName: Annotative) = Failed to get value
AnnotativeScale (type: AcString)  (RO)  (LocalName: Annotative scale) = Failed to get value
AnonymousBlockTableRecord (type: AcDbObjectId)  (RO) = 0
AttributeCollection (type: AcDbObjectId)  (RO)
BlockId (type: AcDbObjectId)  (RO) = 7ffffb0a9f0
BlockTableRecord (type: AcDbObjectId)  (RO)  (LocalName: Name) = Failed to get value
BlockTableRecord/BlockScaling (type: AcDbBlockTableRecord::BlockScaling)  (RO) = Failed to get value
BlockTableRecord/PathName (type: const ACHAR*)  (RO) = Failed to get value
BlockTableRecord/UnitFactor (type: double)  (RO)  (LocalName: Unit factor) = Failed to get value
BlockTableRecord/Units (type: AcString)  (RO)  (LocalName: Block Unit) = Failed to get value
BlockTransform (type: AcGeMatrix3d) = ((1.000000 0.000000 0.000000 0.000000)(0.000000 1.000000 0.000000 0.000000) (0.000000 0.000000 1.000000 0.000000) (986.558668 3607.262689 0.000000 1.000000))
BreakEnabled (type: bool)  (LocalName: Enabled) = 0
BreakFlowDirection (type: AcDb::TableBreakFlowDirection)  (LocalName: Direction) = 1
BreakOptions (type: AcDb::TableBreakOption) = 0
BreakSpacing (type: double)  (RO)  (LocalName: Spacing) = 24.750000
CastShadows (type: bool) = 0
Cells (type: AcCellRange)  (RO) = 1052104704
ClassName (type: AcString)  (RO) =
CollisionType (type: AcDb::CollisionType)  (RO) = 1
Color (type: AcCmColor)  (LocalName: Color) = BYLAYER
Columns (type: AcColumn)  (RO)
Item 0:
    ClassName (type: AcString)  (RO) =
    IsA (type: AcRxClass*)  (RO) = AcRxBoxedValueOnStack
    LocalizedName (type: AcString)  (RO) =
    MinimumWidth (type: double)  (RO) = Failed to get value
    Width (type: double) = Failed to get value
Item 1:
    ClassName (type: AcString)  (RO) =
    IsA (type: AcRxClass*)  (RO) = AcRxBoxedValueOnStack
    LocalizedName (type: AcString)  (RO) =
    MinimumWidth (type: double)  (RO) = Failed to get value
    Width (type: double) = Failed to get value
Item 2:
    ClassName (type: AcString)  (RO) =
    IsA (type: AcRxClass*)  (RO) = AcRxBoxedValueOnStack
    LocalizedName (type: AcString)  (RO) =
    MinimumWidth (type: double)  (RO) = Failed to get value
    Width (type: double) = Failed to get value
Direction/X (type: double) = 1.000000
Direction/Y (type: double) = 0.000000
Direction/Z (type: double) = 0.000000
DynamicBlockReferencePropertyCollection (type: AcDbDynBlockReferenceProperty)  (RO)
DynamicBlockTableRecord (type: AcDbObjectId)  (RO) = 7ffffb0f8f0
ExtensionDictionary (type: AcDbObjectId)  (RO) = 0
ExternalPath (type: AcString)  (RO)  (LocalName: Path) = Failed to get value
FlowDirection (type: AcDb::FlowDirection)  (LocalName: Direction) = 0
Handle (type: AcDbHandle)  (RO) = 325
HasFields (type: bool)  (RO) = 0
HasSaveVersionOverride (type: bool) = 0
HasSubSelection (type: bool)  (RO) = 0
Height (type: double)  (LocalName: Table height) = 29.000000
Hyperlinks (type: AcDbHyperlink*)
IsA (type: AcRxClass*)  (RO) = AcDbTable
IsAProxy (type: bool)  (RO) = 0
IsCancelling (type: bool)  (RO) = 0
IsDynamicBlock (type: bool)  (RO) = 0
IsEraseStatusToggled (type: bool)  (RO) = 0
IsErased (type: bool)  (RO) = 0
IsHeaderSuppressed (type: bool) = 0
IsModified (type: bool)  (RO) = 0
IsModifiedGraphics (type: bool)  (RO) = 0
IsModifiedXData (type: bool)  (RO) = 0
IsNewObject (type: bool)  (RO) = 0
IsNotifyEnabled (type: bool)  (RO) = 0
IsNotifying (type: bool)  (RO) = 0
IsObjectIdsInFlux (type: bool)  (RO) = 0
IsPersistent (type: bool)  (RO) = 1
IsPlanar (type: bool)  (RO) = 1
IsReadEnabled (type: bool)  (RO) = 1
IsReallyClosing (type: bool)  (RO) = 1
IsTitleSuppressed (type: bool) = 1
IsTransactionResident (type: bool)  (RO) = 0
IsUndoing (type: bool)  (RO) = 0
IsWriteEnabled (type: bool)  (RO) = 0
LayerId (type: AcDbObjectId)  (LocalName: Layer) = 7ffffb0a900
LineWeight (type: AcDb::LineWeight)  (LocalName: Lineweight) = -1
LinetypeId (type: AcDbObjectId)  (LocalName: Linetype) = 7ffffb0a950
LinetypeScale (type: double)  (RO)  (LocalName: Linetype scale) = 1.000000
LocalizedName (type: AcString)  (RO) = Table
MatchOrientationToLayout (type: bool)  (LocalName: Match orientation to layout) = Failed to get value
MaterialId (type: AcDbObjectId)  (LocalName: Material) = 7ffffb0aec0
MergeStyle (type: AcDb::DuplicateRecordCloning)  (RO) = 1
MinimumTableHeight (type: double)  (RO) = 27.000000
MinimumTableWidth (type: double)  (RO) = 22.500000
Normal/X (type: double) = 0.000000
Normal/Y (type: double) = 0.000000
Normal/Z (type: double) = 1.000000
NumColumns (type: int)  (RO)  (LocalName: Columns) = 3
NumRows (type: int)  (RO)  (LocalName: Rows) = 3
ObjectId (type: AcDbObjectId)  (RO) = 7ffffb0f8d0
OwnerId (type: AcDbObjectId)  (RO) = 7ffffb0a9f0
PlotStyleName (type: AcString)  (LocalName: Plot style) = ByLayer
Position/X (type: double)  (LocalName: Insertion point X) = 986.558668
Position/Y (type: double)  (LocalName: Insertion point Y) = 3607.262689
Position/Z (type: double)  (LocalName: Insertion point Z) = 0.000000
ReceiveShadows (type: bool) = 0
RegenerateTableSuppressed (type: bool) = 0
RepeatBottomLabels (type: bool)  (RO)  (LocalName: Repeat bottom labels) = 0
RepeatTopLabels (type: bool)  (RO)  (LocalName: Repeat top labels) = 0
Rotation (type: double)  (LocalName: Rotation) = Failed to get value
Rows (type: AcRow)  (RO)
Item 0:
    ClassName (type: AcString)  (RO) =
    Height (type: double) = Failed to get value
    IsA (type: AcRxClass*)  (RO) = AcRxBoxedValueOnStack
    LocalizedName (type: AcString)  (RO) =
    MinimumHeight (type: double)  (RO) = Failed to get value
Item 1:
    ClassName (type: AcString)  (RO) =
    Height (type: double) = Failed to get value
    IsA (type: AcRxClass*)  (RO) = AcRxBoxedValueOnStack
    LocalizedName (type: AcString)  (RO) =
    MinimumHeight (type: double)  (RO) = Failed to get value
Item 2:
    ClassName (type: AcString)  (RO) =
    Height (type: double) = Failed to get value
    IsA (type: AcRxClass*)  (RO) = AcRxBoxedValueOnStack
    LocalizedName (type: AcString)  (RO) =
    MinimumHeight (type: double)  (RO) = Failed to get value
ScaleFactors/UniformScale (type: double)  (RO)  (LocalName: Scale) = Failed to get value
ScaleFactors/X (type: double)  (RO)  (LocalName: Scale X) = Failed to get value
ScaleFactors/Y (type: double)  (RO)  (LocalName: Scale Y) = Failed to get value
ScaleFactors/Z (type: double)  (RO)  (LocalName: Scale Z) = Failed to get value
ShadowDisplay (type: AcDb::ShadowFlags)  (RO)  (LocalName: Shadow Display) = Failed to get value
SubSelection (type: AcCellRange) = 1052104704
TableBreakHeight (type: double)  (RO)  (LocalName: Break height) = 0.000000
TableStyle (type: AcDbObjectId)  (LocalName: Table style) = 7ffffb0ac70
Transparency (type: AcCmTransparency)  (LocalName: Transparency) = 0
TreatAsBlockRefForExplode (type: bool)  (RO) = 0
Visible (type: AcDb::Visibility) = 0
Width (type: double)  (LocalName: Table width) = 76.890775
End object dump
nil

 the table contains numbers like this:

10 20 30
60 70 80
110 120 130

thanks

attentively
Canis

 

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost