Std Copy: Difference between revisions

From FreeCAD Documentation
mNo edit summary
(Removed the totally useless Scripting paragraph.)
Line 42: Line 42:
* When you are working in a FreeCAD text window, an input box or a spreadsheet, the standard keyboard shortcut {{KEY|Ctrl}}+{{KEY|C}}, in almost all cases, does not call the '''Std Copy''' command but uses the Copy function from the OS instead.
* When you are working in a FreeCAD text window, an input box or a spreadsheet, the standard keyboard shortcut {{KEY|Ctrl}}+{{KEY|C}}, in almost all cases, does not call the '''Std Copy''' command but uses the Copy function from the OS instead.
* It is not possible to copy-paste native objects between FreeCAD and other applications.
* It is not possible to copy-paste native objects between FreeCAD and other applications.

==Scripting== <!--T:16-->

<!--T:17-->
The '''Std Copy''' command can be applied after selecting one or more objects in the [[Tree_view|Tree view]]:

</translate>
{{Code|code=
FreeCADGui.runCommand('Std_Copy')
FreeCADGui.runCommand('Std_Paste')
}}
<translate>

<!--T:19-->
The selection can be manual (by using the mouse), or via the [[Python_console|Python console]].<br>
To know more about selecting objects programmatically, refer to [[Selection_methods|Selection methods]].




Line 73: Line 57:
{{Std Base navi{{#translation:}}}}
{{Std Base navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Revision as of 10:49, 18 September 2021

Std Copy

Menu location
Edit → Copy
Workbenches
All
Default shortcut
Ctrl+C
Introduced in version
-
See also
Std Cut, Std Paste, Std DuplicateSelection

Description

The Std Copy command copies objects to the Clipboard.

Usage

  1. Select one or more objects.
  2. There are several ways to invoke the command:
    • Press the Std Copy button.
    • Select the Edit → Copy option from the menu.
    • Select the Copy option from the Tree view context menu.
    • Use the keyboard shortcut: Ctrl+C.
  3. If the objects have dependencies that have not been selected, a dialog box will prompt you to specify which should be included.

Notes

  • When you are working in a FreeCAD text window, an input box or a spreadsheet, the standard keyboard shortcut Ctrl+C, in almost all cases, does not call the Std Copy command but uses the Copy function from the OS instead.
  • It is not possible to copy-paste native objects between FreeCAD and other applications.