Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Path: Indicate fromShape as deprecated - issue #2786
- Loading branch information
1 parent
a8ab24a
commit fb8875d
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -116,7 +116,7 @@ class Module : public Py::ExtensionModule<Module> | |
"show(path,[string]): Add the path to the active document or create one if no document exists" | ||
); | ||
add_varargs_method("fromShape",&Module::fromShape, | ||
"fromShape(Shape): Returns a Path object from a Part Shape" | ||
"fromShape(Shape): Returns a Path object from a Part Shape (deprecated - use fromShapes() instead)" | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
yorikvanhavre
Author
Member
|
||
); | ||
add_keyword_method("fromShapes",&Module::fromShapes, | ||
"fromShapes(shapes, start=Vector(), return_end=False" PARAM_PY_ARGS_DOC(ARG,AREA_PARAMS_PATH) ")\n" | ||
|
@yorikvanhavre is there a way to output something to the console indicating this is deprecated?