News:

When posting a problem be sure to include which version you are using.  Give as much information as possible.  If the problem is with a specific file be sure to attache it to your post.

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.

INSERTING FILE NAME INTO DRAWING

Started by jimblas, October 03, 2015, 01:22:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jimblas

IS THERE ANY WAY TO INSERT THE FILE MANE INTO A DRAWING IN PAPERVEIW?

Torfinn

Jimblas

Nope, not as i know about, i assume you think about Automatic.
But please, dont "shout", when you ask about something inside the forum, people inside here do see your question anyway, they do :)

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

John R

Possibly with a Ruby script. There is a "TC20_TimeStamp.rb" file in Pro ("RubyScripts" folder) that mentions adding the file name.

Quote# TC20_TimeStamp.rb
# A timestamp script, using the TurboCAD API and IronRuby scripting.
# Modified by Kevan Chapman from a script posted on the TurboCAD SDK forums.
# Places the drawing name, time and date, and an optional string of text
# into the drawing.
# User specifies text height and location in the dialog box.

Maybe this will do what you want.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

david davey

I have a very small program which pastes the Name , Date and Absolute Path of a drawing to the clip board.  I simply click on the little program Icon and then do Edit Paste .    The require data then appears in the drawing and can be moved and or sized as required.  I have been using it for 15 years and find it an absolute necessity.
I did suggest this to Turbocad support ( it would take them all of 10 minutes to write and provide).  Somebody thought that the idea was ridiculous!!!
If the author is agreeable I will be happy to let you have the program,
David Davey

Marek

Hi David
If you want to have the full path of the file, all you have to  modify a little, ruby script , that John mentioned.
1. Edit "TC20_TimeStamp.rb" in e.g. in notepad
2. insert hash sign in places marked by red arrow
3. save the script (if you want to go back to the previous version, you will delete the hashes. You can also make a copy of this script earlier and save it elsewhere on the disk)
4. Restart TCad or open ruby console, load saved script, execute, uncheck "Multiline" and write "add_ts" (function name) and "enter".
5. To get the path the file must be saved beforehand.
Marek
Marek

TC Pro 2016, TC Pro 2018, TC Plat 2019,TC Plat 2020,TC Plat 2021,TC Plat 2022,TC Plat 2023,TC Plat 2024, TC Plat 2025
Laptop Asus i7 6500U, dual-core 2,50GHz, NVIDIA GeForce GTX 950M, RAM 12 GB, SSD 480GB
Windows 10 64 bit