VB interface to Feature.MoveCopyBody2
VB interface to Feature.MoveCopyBody2
(OP)
From the help files I find
Set swFeat = swFeatMgr.InsertMoveCopyBody2( _
0.1, 0.2, 0.3, _
0#, _
0#, 0#, 0#, _
0#, 0#, 0#, _
False, 1)
as example to script move of body. However, when I put value 0.1 into this is moved 3.937 inches, this makes no sense. It is not mm to inch conversion to move 1" you enter 1/39.37! Has anyone tried this function before? What is real data needed? (The conversion 39.37 is not accurate enough as I get cumulative error and I move bodies many time in script.
Please advise.
Thanks,
Alex
Set swFeat = swFeatMgr.InsertMoveCopyBody2( _
0.1, 0.2, 0.3, _
0#, _
0#, 0#, 0#, _
0#, 0#, 0#, _
False, 1)
as example to script move of body. However, when I put value 0.1 into this is moved 3.937 inches, this makes no sense. It is not mm to inch conversion to move 1" you enter 1/39.37! Has anyone tried this function before? What is real data needed? (The conversion 39.37 is not accurate enough as I get cumulative error and I move bodies many time in script.
Please advise.
Thanks,
Alex






RE: VB interface to Feature.MoveCopyBody2
1 Metre = 39.3696"
Helpful SW websites FAQ559-520
How to get answers to your SW questions FAQ559-1091
RE: VB interface to Feature.MoveCopyBody2
Lets try that again ...
1 meter = 39.37007874"
Helpful SW websites FAQ559-520
How to get answers to your SW questions FAQ559-1091
RE: VB interface to Feature.MoveCopyBody2
This means if you want to move inches you will have to convert it to meters using the conversion supplied by CBL or for more accuracy, you could use 1 metre (meter) = 1000#/25.4# .
Regards,
Regg
RE: VB interface to Feature.MoveCopyBody2
Second question, what is the '#' used for in this?
RE: VB interface to Feature.MoveCopyBody2