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.

Block Attributes

Started by MikeSr, September 11, 2012, 08:37:02 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

MikeSr

Still learning how to use TC. Getting to enjoy the software, but can't seem to find answers to some of my questions in the documentation.
First off, I am using TC Pro to generate electrical ladder schematics and control panel layouts.
Regarding the schematic, I have a block that contains a PLC module with all of the appropriate terminals etc.. I am trying to create the wire number assosiated with this particular module.
The configuration for the wire number is EX: AI = Analog input, AO = Analog output, DI = Digital Input, DO = Digital output.
So for a specific card the prefix "AI" would be static. Then we add Slot number to the static "AI" thus becomming AI02. Meaning Analog Input at Slot 2. Then this particualar card happens to be 16 channels. Thus "AI02.01 through "AI02-16".
Without having to enter each slot number and I/O point 16 times with attributes, is there some other scripting method of ackomplishing this?

Gosh I hope my example was clear enough to understand> ;D

John R

You may want to look at the Marker tools; "Tools / Architecture / Markers / …". I think you'll need to make adjustments to the Prefix when you go past 10.
John R.

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