Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Polarsys » Capella General » Property Values Management Tool under Mac/Linux(Issues experienced with PVMT under Linux/Mac)
Property Values Management Tool under Mac/Linux [message #1827951] Wed, 27 May 2020 13:23 Go to next message
Willie Nel is currently offline Willie NelFriend
Messages: 3
Registered: May 2020
Junior Member
When trying to use the PVMT tool (45.5.0) on Capella 1.4.0 or 1.4.1 newly created domains do not show up in the Property Value editor.

Also - when closing the project and opening the project the domains created are missing from the .vpd file

It would seem something is preventing the domains from actually being created succesfully.

Upon closing the project I sometimes receive the error
"org.eclipse.ui.part.FileEditorInput cannot be cast to com.thalesgroup.vpd.property.virtualeditor.editor.VirtualVpdEditorInput"

Anyone experience something like this before and know how to fix it?

Regards

Re: Property Values Management Tool under Mac/Linux [message #1827956 is a reply to message #1827951] Wed, 27 May 2020 15:25 Go to previous messageGo to next message
Stephane LACRAMPE is currently offline Stephane LACRAMPEFriend
Messages: 217
Registered: July 2009
Senior Member
Hi Willie,
I would need a detailed explanation of how exactly you are using the PVMT Tool to make sure you have not missed anything when initializing it on your project.
Stephane


Stephane LACRAMPE
Obeo Canada
Re: Property Values Management Tool under Mac/Linux [message #1827957 is a reply to message #1827956] Wed, 27 May 2020 16:16 Go to previous messageGo to next message
Willie Nel is currently offline Willie NelFriend
Messages: 3
Registered: May 2020
Junior Member
Hi

I installed the PVMT into the dropin directory as I should

Created a small new test project

added a new property values configuration file by adding it to the project
(New - Other ...)
It opened up the editor with a 'my' domain as per the defaults

I then added (or modified - both gave the same result) a new domain as per the example in the documentation
Mass
-> Mass Extension
-> Scope (tried setting to PHYSICAL, SYSTEM, LOGICAL or even ALL)
--> Eclass Rule set to Abstract with EClass Component
->FloatProperty Mass with unit kg

Validated this and it returns a validation completed succesfully

Then saved it

Next I create a new physical component in a PAB diagram
Added to this a Physical Behaviour Block and inside this a function

I then open up the Viewer for the Property Values
When doing so, no matter which of these blocks I select, the Mass Domain does not show up in the Domains list as a tick box as shown in the documents

Sent a mail to Juan NAVAS with my whole story - he chekced the bit of definition I used on his side and said that it worked.

On my side two things goes wrong
(a) the domains are not showing up when I select a component
(b) sometimes saving the domains and closing the project, and then opening it up again, the modifications to the domains are not saved

The very first time I tried this I got an error as stated in the post.
Subsequently there are no errors, but still the domains do not show up.

An example project that already contains such domains could probably help me to check whether it is a setup issue and/or finger trouble on my side or whether it is a real bug

Regards
Willie

Re: Property Values Management Tool under Mac/Linux [message #1827961 is a reply to message #1827957] Wed, 27 May 2020 17:51 Go to previous messageGo to next message
Stephane LACRAMPE is currently offline Stephane LACRAMPEFriend
Messages: 217
Registered: July 2009
Senior Member
Hi Willie,

I do not have all the explanations why, but there are 2 different modes when using PVMT and I have had similar problems with the one you are using.
What I mean is: I do not advise you to do "added a new property values configuration file by adding it to the project (New - Other ...)".
What I advise you to do is:
- Start a new test project from scratch
- Open the Property Value tab (if not already opened: Window->Show View->others and then Property values -> Property values
- Open your test project, select the aird file and then select the first element below (of "Systems Engineering" Type
- Go back to the property view window, and click on the icon on the top right "Open PV Definition Editor"
- Then you can start defining your property values and they should be applied to your model

I hope this helps
Stephane

Stephane


Stephane LACRAMPE
Obeo Canada
Re: Property Values Management Tool under Mac/Linux [message #1827965 is a reply to message #1827961] Wed, 27 May 2020 19:01 Go to previous messageGo to next message
Willie Nel is currently offline Willie NelFriend
Messages: 3
Registered: May 2020
Junior Member
Thank you very much Stephane

That worked perfectly!

I would suggest we change the help to show this as the preferred way to do this!

Really appreciate the help

Regards
Re: Property Values Management Tool under Mac/Linux [message #1827968 is a reply to message #1827965] Wed, 27 May 2020 20:49 Go to previous messageGo to next message
Stephane LACRAMPE is currently offline Stephane LACRAMPEFriend
Messages: 217
Registered: July 2009
Senior Member
You're welcome, I'm glad it worked out!

Stephane LACRAMPE
Obeo Canada
Re: Property Values Management Tool under Mac/Linux [message #1827982 is a reply to message #1827965] Thu, 28 May 2020 08:40 Go to previous messageGo to next message
Navas Juan is currently offline Navas JuanFriend
Messages: 49
Registered: January 2020
Member
Glad to know that you managed to make it work.
As a matter of fact, the "First Steps" section in the PVMT Help chapter already includes this procedure :-)
Re: Property Values Management Tool under Mac/Linux [message #1827987 is a reply to message #1827968] Thu, 28 May 2020 12:03 Go to previous message
Aurelien Pinsonneau is currently offline Aurelien PinsonneauFriend
Messages: 15
Registered: February 2020
Junior Member
Hello all,

Indeed you need to be careful that property values configuration file (.vpd) are only used in order to be able to transfer property value definition from one Capella project to another one.

The fact that you created the file inside a Capella project has no impact: it is not related to the Capella project itself and thus cannot be used as is.

When you are in the Property value definition view of a Capella model, you have the possibility to import / export vpd files

index.php/fa/38202/0/
  • Attachment: Capture.png
    (Size: 9.63KB, Downloaded 647 times)
Previous Topic:Deployment of Physical Components
Next Topic:Modelling phases and stages of a project in capella
Goto Forum:
  


Current Time: Fri Dec 13 10:35:27 GMT 2024

Powered by FUDForum. Page generated in 0.07543 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top