Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FreeCAD/FreeCAD
/ createInstance
Method
createInstance
src/Base/Type.cpp:82–86 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
80
}
81
82
void* Type::createInstance() const
83
{
84
const auto method = getInstantiationMethod();
85
return method ? (*method)() : nullptr;
86
}
87
88
bool Type::canInstantiate() const
89
{
Callers
15
addObject
Method · 0.45
supportedProperties
Method · 0.45
addObject
Method · 0.45
addObjects
Method · 0.45
addDynamicProperty
Method · 0.45
restoreExtensions
Method · 0.45
addExtension
Method · 0.45
createInstanceByName
Method · 0.45
replaceSwitches
Function · 0.45
supportedProperties
Method · 0.45
create
Method · 0.45
slotNewObject
Method · 0.45
Calls
no outgoing calls
Tested by
2
_instantiate
Function · 0.36
_instantiate
Function · 0.36