Das Wissen aller Anwender nutzen

Im Allplan Connect Forum tauschen sich Anwender aus, geben wertvolle Tipps oder beraten sich bei ganz konkreten Aufgabenstellungen − auch international.
Und damit wirklich keine Frage unbeantwortet bleibt, unterstützen die Mitarbeiter des Technischen Supports ebenfalls aktiv das Forum.

Es erwarten Sie:

  • Foren-Vielfalt aus CAD Architektur, CAD Ingenieurbau uvm.
  • Tipps von User für User
  • international: Deutsch, Englisch, Italienisch, Französisch und Tschechisch

Melden Sie sich jetzt an und diskutieren Sie mit!

Zur Registrierung

[Frage] Pythonparts - Unable to resolve 'NemAll_Python_Geometry'. IntelliSense may be missing for this module!!!

Schlagworte:
  • Allplan 2017
  • PythonParts
  • Visual Studio 2017!

Something is going wrong here, please let me know what was going wrong with my approach:

1) Installation of Visual Studio 2017
2) Installation of Python 3.7.4
3) Opening the project PythonParts.pyproj from Allplan\2017\Etc\PythonPartsScripts folder
4) Correcting the references *.pyd files

The point is that I get the following errors when opening the project which I cannot resolve :
- for each reference file *.pyd I get the error: Unable to resolve 'BasisExamples.FaceStyle'.
IntelliSense may be missing for this module.
- Another thing is that processor architecture of the reference "PrgLib\NemAll_Python_Palette.pyd" was built as "AMD64" processor, but I have Intel Core i7, so this is probably problem? How to resolve this issue? So if I deliver later Pythonparts on other
type of processors, there would be a problem?

Please if you provide me some solution for these issues so that I could start testing your delivered Pythonparts project!

Primoz

P.S. Any suggestion is welcome!

Visual studio project:
https://www.dropbox.com/s/j395samtzupsf1i/PythonPartsScripts.rar?dl=0

Anhänge (1)

Typ: image/png
53-mal heruntergeladen
Größe: 178,06 KiB
11 - 13 (13)

Hi Primoz,

some questions:

- have you closed the dialog by OK before attaching?
- if you enter "PythonParts@localhost", did you see the process in the "Process" window?
- have you tried ptvsd-4.3.2 with VisualStudio 2017?

Best regards
Horst

Do I need to do sth else as just to copy ptvsd folder from ptvsd-2.2.0.zip file to the original Allplan Python folder?
Maybe I missed sth?

Magic is happening with Allplan...
I installed Visual Studio 2017 with all the tools and I managed to pass the barrier, but another error poped-up at once:
- failed to launch debug adapter!!!
- unable to attach the process - invalid pointer

I really don't know what is happening here?
Very unstable connection??

Anhänge (1)

Typ: image/png
18-mal heruntergeladen
Größe: 141,99 KiB
11 - 13 (13)