I want copy point position(World) & paste to Other Object's Point(World).
The coordinate manager can displays the World-Position values. but there is no copy paste function.
You can use the Snap function of C4D, but I want to reduce even one click.
I want to create two scripts and assign a shortcut key to each.(copy / pate)
Python is not easy. Ask for help.
import c4d
def main():
sel_pt = op.GetPointS()
id_sel_pt = 0
for i in range(op.GetPointCount()):
if sel_pt.IsSelected(i):
id_sel_pt = i
objectmg = op.GetMg()
selgmg = op.GetPoint(id_sel_pt) * objectmg
print(selgmg)
c4d.CopyStringToClipboard(selgmg)
if __name__ == '__main__':
main()
Paste Clipboard --> c4d.GetStringFromClipboard()
Move Point --> op.SetPoint(id,c4d.Vector())