News:

Be sure your post is relevant to the current discussion.  Create a new topic within the appropriate board if you are unsure.

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.

Selecting part tree items via SDK

Started by mie, May 04, 2019, 04:58:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mie

Hi,
I´ve been trying to select a single item within a part tree.

The part tree contains two cylinders which are linked via 3D-boolean add.
I determined the IDs for all items and substructures (see attachment).
(My sample also contains a cube ("Quader"))

By using "TCDraw.Graphics.GraphicFromID(itemID).Select()" I can only select the first level items (i.e. part tree or Quader) which are subsequently shown in TC.
Selecting lower levels ("Zylinder", "Kreis") give no visual feedback in TC.
(Moving those items by MoveRelative move a copy (?) of the cylinder but leaves the shape at the old position as well)

I´ve been fiddling around quite a long time, trying several combinations of .Cosmetic=true/false, .update etc., but to no avail.

Any ideas?
Werner
I´m using Win 10 Pro, TC Pro Platinum 2017 64 bit, Version 24.0 Bulid 79.1