TurboCAD Forums

The Ultimate Resource for TurboCAD Knowledge

Register
 
Interested in some really terrific mobile apps? Visit www.turboapps.com for details.

Symbols landing halfway
Read 596 times
* June 24, 2018, 04:24:55 AM
Using TC10pro and 3D symbols I find the symbols always land on the workplane halfway down. Is there a different approach to make the symbols arrive at the correct height?

Logged


* June 24, 2018, 08:38:33 PM
#1
re: …Using TC10pro and 3D symbols…

Is this TurboCAD Mac 10? Try the TurboCAD Mac Forum, as this is TurboCAD Windows.

Logged
John R.

V17—V21, 2015—2018
Designer, Deluxe, Expert, Basic, Platinum
RedSDK enabled, except in 2018
Windows 10, 64-bit


* June 26, 2018, 11:25:08 AM
#2
I am using Windows TC 10 Pro.

Logged


* June 26, 2018, 08:21:07 PM
#3
They always come in at the location of the Reference Point of the Symbol, which is normally the Center of Extents. If these are the symbols supplied with the program, I believe they will always come out this way. If you're making your own 3D symbols, you can establish the reference point prior to making it a symbol. This should work for individual objects or several objects made into a Group first. When the symbol is dragged out, it should be dragged out by the established reference point and placed on the current workplane.

This is what I get using Version 11; I don't have Version 10.

Logged
John R.

V17—V21, 2015—2018
Designer, Deluxe, Expert, Basic, Platinum
RedSDK enabled, except in 2018
Windows 10, 64-bit


* June 26, 2018, 08:38:18 PM
#4
Thanks John R. I had hoped there was a function which would calculate the height of the symbol then place the reference point 50% higher on the workplane than it does when then reference point is placed on the workplane. It could be possible to make a macro to do this......

Logged


* June 26, 2018, 08:58:32 PM
#5
I know nothing about Macros.

Logged
John R.

V17—V21, 2015—2018
Designer, Deluxe, Expert, Basic, Platinum
RedSDK enabled, except in 2018
Windows 10, 64-bit


June 27, 2018, 05:56:35 AM
#6
Not sure this will work for you in TC10 Pro...

This Macro will do what you want to do which I made in TC2018.

1. Select the object/s. A message box will say "Please make a selection in your drawing to run Z Raising!" if you do not have anything selected.
2. Run the Macro. It will work out the bounding box half Z height and move it by that value.
3. An undo record is made called "Z Raising Selection Macro" so you can undo the action on your selection.

The zip attached contains the *.tcr macro file.

Edit - forgot to add in a if statement for when the Z Min is minus... File updated below ;-) Edit 2 : Further developed with some code as i noticed maths problem with z moves.

Hope it helps ;-)
« Last Edit: June 27, 2018, 09:41:29 AM by Darrel Durose »

Logged
Daz...
V2017 64-Bit & 32 Bit Platinum Edition
RedSDK Only in 64 bit & 32 bit = RedSDK & Lightworks
TurboCAD user since V3 and Turbocad 3D V1.
OS Windows7 Pro 64bit Lenovo W701 Laptop, 24GB Ram, 2 x 128 SSD harddrives, NVIDIA Quadro FX 2800M Graphics, Intel i7 CPU...


* June 29, 2018, 04:09:13 AM
#7
Thanks Daniel for the macro.
 Couldn’t quite run it as it had a command near the end my Version 10 didn’t recognise but I should be able to work something similar out.

Logged