Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Objet graph ?

Objet graph ? 8 months 2 weeks ago #12088

  • Sébastien
  • Sébastien's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 175
  • Thank you received: 2
  • Karma: 0
Bonjour,
j'ai un objet avec une représentation graphique donc objetgraph pour l'ouvrir je fais donc une commande : open graph/class/inst=Modelseb-KM et l'objet graph s'ouvre ok.

Un graph (pwg) et un objetGraph aussi en pwg mais c'est différent, le deuxième est une instance de mon objet de ma classe.

Donc si je fais un CloseGraph ? je ferme mon écran de supervision ou mon objetGraph?

Quelle est la commande pour fermer une instance graphique liée à un objet ? donc fermer uniquement l'objetGraph?

car je rencontre un problème sur mon objet graph dans le menu file : Print ( print graph/class/inst=$object) et Close ( CloseGraph)

Si vous pouvez m'aider ? Mon ToolsBar fonctionne bien ok pas de souci, Menu Methods OK, help aussi OK mais File Close ??

Capturedcran2023-08-1221.44.47.jpg


Merci
/seb
SEB
The administrator has disabled public write access.

Objet graph ? 8 months 1 week ago #12091

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3178
  • Thank you received: 502
  • Karma: 133
Hi Seb,

If you send me the pwg file and the wb_load file for the class volume (from $pwrp_db) I'll have a look at it next week.

/Claes
The administrator has disabled public write access.

Objet graph ? 8 months 1 week ago #12093

  • Sébastien
  • Sébastien's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 175
  • Thank you received: 2
  • Karma: 0
Hi Claes,
I've e-mailed you.
thank you :)
SEB
The administrator has disabled public write access.

Objet graph ? 8 months 6 days ago #12101

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3178
  • Thank you received: 502
  • Karma: 133
Hi Seb,

There is a group in the subgraph, and that's not allowed because a group can't be instantiated.

I also would recommend you to use Database format WbLoad instead of BerkeleyDB (in the ClassVolumeConfig object). We always use WbLoad and I'm not sure how well the BerkelyDb alternative works nowadays.

/Claes
The administrator has disabled public write access.

Objet graph ? 8 months 6 days ago #12103

  • Sébastien
  • Sébastien's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 175
  • Thank you received: 2
  • Karma: 0
Hi Claes,

Thank you, at first I used WBload but when it closes or the database is blocked and I can no longer unlock WBload? When it locks, how can I unlock it because even with the unlock window I can no longer access my "Class Editor". That's why I used BerkeleyBD because when it locks you can unlock it and that's why I used BerkeleyBD, otherwise how can I unlock "WBload" with reload.SH?
I don't know how to do it?

Thanks a lot

/seb

Translated with www.DeepL.com/Translator (free version)
SEB
The administrator has disabled public write access.

Objet graph ? 8 months 5 days ago #12104

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3178
  • Thank you received: 502
  • Karma: 133
Hi Seb,

Normally you would get a dialog with a 'Remove lock' button. This will remove the lock file $pwrp_db/cvolseb.wb_load.lock (or $pwrp_db/directory.wb_load.lock for the directory volume). But yoú can also remove the file manually.

/Claes
The administrator has disabled public write access.
The following user(s) said Thank You: Sébastien
  • Page:
  • 1
  • 2
Time to create page: 9.143 seconds