News:

The purpose of these forums is to discuss TurboCAD.  Please keep the discussion of other products to compatibility issues or how the other software can be used with TurboCAD.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Table's

Started by DonCW, May 28, 2016, 07:37:16 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

DonCW

I've attached a Tables created in v2015. Selection Info shows 13 rows, I would like that  to increase to 33 rows, but I can't seem find a way to do it in one step. Is it possible.
DonCW
2020 Platinum
2018 Platinum
2017 Pro with Light Works Plug in



Windows 10
There's so much to learn and not much time left to learn it.

RCFlyingKnight

I couldn't find a way.

It would be nice if the columns/rows count fields were editable in the selection info pallet when the table was selected with either the selection or edit tool.

Also, wasn't able to 2d add two tables so you could just create the 20 extra rows and add them.

Copy/Paste data from one table to another didn't seem possible either.

Matthew

nikkipollard

It does seem like you can only add one row at a time.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

DonCW

Okay thanks,
Matthew & Nikki adding one row at a time it is. 
DonCW
2020 Platinum
2018 Platinum
2017 Pro with Light Works Plug in



Windows 10
There's so much to learn and not much time left to learn it.

MarkS

Don't have your guys version, but I would wonder if you could do it with the macro recorder or the scripting engine? It might be worth checking out.
TCW Pro 14.2
TC Deluxe 16.2 Build 53.2

Andy H

Quote from: MarkS on May 28, 2016, 10:16:57 AM
Don't have your guys version, but I would wonder if you could do it with the macro recorder or the scripting engine? It might be worth checking out.

That's clever Mark - works perfectly, recorded once, minor modification to the script, played and the script added another 12

DonCW

Quote from: Andy H on May 28, 2016, 10:44:31 AM
Quote from: MarkS on May 28, 2016, 10:16:57 AM
Don't have your guys version, but I would wonder if you could do it with the macro recorder or the scripting engine? It might be worth checking out.

That's clever Mark - works perfectly, recorded once, minor modification to the script, played and the script added another 12

Hi Andy,

Would you mind sharing the modifications you made to the script. I've never used the Macro Recorder before.
DonCW
2020 Platinum
2018 Platinum
2017 Pro with Light Works Plug in



Windows 10
There's so much to learn and not much time left to learn it.

Andy H

#7
Hi Don, sorry for delay - I knocked up a little video as I didn't know whether you had added anything to any macro or code before, you can pause if the text goes off too quick.

Hope its ok, (I set it to add 20 rows)

https://www.youtube.com/watch?v=j8R015r0LLc

##Edfit ##
I should point out you can type in any number at the end of the 'For' statement for example For i = 1 to 33
The 'Dim i' is declaring the variable that will be used, as this is required in an Option Explicit Macro such as TC's (and in AnimationLab scripts)
## End Edit ##

Andy

DonCW

Quote from: Andy H on May 28, 2016, 03:15:25 PM
Hi Don, sorry for delay - I knocked up a little video as I didn't know whether you had added anything to any macro or code before, you can pause if the text goes off too quick.

Hope its ok, (I set it to add 20 rows)

https://www.youtube.com/watch?v=j8R015r0LLc

##Edfit ##
I should point out you can type in any number at the end of the 'For' statement for example For i = 1 to 33
The 'Dim i' is declaring the variable that will be used, as this is required in an Option Explicit Macro such as TC's (and in AnimationLab scripts)
## End Edit ##

Andy

Thanks Andy, that's brilliant.
DonCW
2020 Platinum
2018 Platinum
2017 Pro with Light Works Plug in



Windows 10
There's so much to learn and not much time left to learn it.

nikkipollard

Thanks Andy that is an easy to follow video and I was able to get it to work first time.
Do you need to repeat the process for a different table?
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Andy H

Quote from: nikkipollard on May 29, 2016, 04:35:26 AM
Do you need to repeat the process for a different table?

Unfortunately yes, its only applicable to the object its recorded for, so only of use if one is adding lots of rows,  I'll have a think and see if there is a way to get it working with the selected object, but I find the macro recording scripts a little strange to work out, but I'm ready for a challenge  :) (I can always ask in the SDK part of the forum if I get stuck).