Problem 2112 - Cannot call G4VSolid from Python.
Summary: Cannot call G4VSolid from Python.
Status: RESOLVED INVALID
Alias: None
Product: Environments
Classification: Unclassified
Component: g4py (show other problems)
Version: 10.5
Hardware: All All
: P4 normal
Assignee: Koichi Murakami
URL:
Depends on:
Blocks:
 
Reported: 2018-12-29 21:19 CET by keith@sloan-home.co.uk
Modified: 2019-09-27 22:12 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description keith@sloan-home.co.uk 2018-12-29 21:19:04 CET
If I execute dir(Geant4) from python one of the functions listed is G4VSolid yet if I try to call G4VSolid I get the message 

sld_brep_box = G4VSolid()
RuntimeError: This class cannot be instantiated from Python
Comment 1 keith@sloan-home.co.uk 2019-01-14 18:01:11 CET
I now see that G4VSolid is a virtual/abstract function and therefore is not callable.