Change sheet list table to target current sheet list

Change sheet list table to target current sheet list

gccdaemon
Collaborator Collaborator
825 Views
2 Replies
Message 1 of 3

Change sheet list table to target current sheet list

gccdaemon
Collaborator
Collaborator

I have a template block for cover sheets that includes a preset sheet list table. What I would like to do is be able to update the sheet set that the sheet list targets. I don't want to have to insert a sheet list, format it's cell width/heigh, and move it to a specific location every time I create a new cover sheet. Does anyone know if there is a way to change the target sheet set of the sheet list to be the current (or selected) one? I know it sounds confusing, so ask if you need clarification.

Andrew Ingram
Civil 3D x64 2019
Win 10 x64 Pro
Intel Xeon E5-1620
32 GB Ram
0 Likes
826 Views
2 Replies
Replies (2)
Message 2 of 3

hencoop
Advisor
Advisor

MATCHPROP can fix some of the characteristics of a newly placed table.  I checked to see if a more robust match properties function might be possible and the necessary values that VLA-PUT-PROPERTY might have been able to set are all read only so I don't think that can be done.

 

I don't see any property that would obviously hold the Sheet Set linkage.  It may not be exposed/available through the API.

 

The object data for my Sheet Index Table has these properties readable (those followed by (RO) are read-only and not available for PUT functions):

 

Select object: ; IAcadTable: IAcadTable Interface
; Property values:
; AllowManualHeights = 0
; AllowManualPositions = 0
; Application (RO) = Exception occurred
; BreaksEnabled = -1
; BreakSpacing = 0.605
; Columns = 2
; ColumnWidth (RO) = ...Indexed contents not shown...
; Direction = (1.0 0.0 0.0)
; Document (RO) = #<VLA-OBJECT IAcadDocument 0000000029ae4cf8>
; EnableBreak (RO) = ...Indexed contents not shown...
; EntityTransparency = "ByLayer"
; FlowDirection = 0
; Handle (RO) = "B7E3"
; HasExtensionDictionary (RO) = -1
; HasSubSelection (RO) = 0
; HeaderSuppressed = 0
; Height = 20.2292
; HorzCellMargin = 0.05
; Hyperlinks (RO) = #<VLA-OBJECT IAcadHyperlinks 00000000605f41e8>
; InsertionPoint = (20.1301 20.5586 0.0)
; Layer = "C-SHTS1INDX"
; Linetype = "ByLayer"
; LinetypeScale = 1.0
; Lineweight = -1
; Material = "ByLayer"
; MinimumTableHeight (RO) = 20.0825
; MinimumTableWidth (RO) = 0.58375
; ObjectID (RO) = 43
; ObjectName (RO) = "AcDbTable"
; OwnerID (RO) = 44
; PlotStyleName = "ByLayer"
; RegenerateTableSuppressed = 0
; RepeatBottomLabels = 0
; RepeatTopLabels = -1
; RowHeight (RO) = ...Indexed contents not shown...
; Rows = 80
; StyleName = "SheetIndex"
; TableBreakFlowDirection = 1
; TableBreakHeight = 12.1437
; TableStyleOverrides (RO) = nil
; TitleSuppressed = 0
; TrueColor = #<VLA-OBJECT IAcadAcCmColor 00000000605f7c60>
; VertCellMargin = 0.05
; Visible = -1
; Width = 5.12345

AutoCAD User since 1989. Civil Engineering Professional since 1983
Product Version: 13.6.1963.0 Civil 3D 2024.4.1 Update Built on: U.202.0.0 AutoCAD 2024.1.6
                        27.0.37.14 Autodesk AutoCAD Map 3D 2024.0.1
                        8.6.52.0 AutoCAD Architecture 2024
0 Likes
Message 3 of 3

gccdaemon
Collaborator
Collaborator

Looks like it's the hyperlink portion. I may need to check into the insert sheet list table command, but don't know where to find it.

Andrew Ingram
Civil 3D x64 2019
Win 10 x64 Pro
Intel Xeon E5-1620
32 GB Ram
0 Likes