Opened 12 years ago
Closed 12 years ago
#1970 closed defect (fixed)
Multibody Visualizers type error
Reported by: | Bruno Scaglioni | Owned by: | probably noone |
---|---|---|---|
Priority: | high | Milestone: | 1.9.0 |
Component: | Backend | Version: | trunk |
Keywords: | Visualizers, types | Cc: |
Description
The model contained in the attached file outputs a type mismatch error between the variable "r" of "visPoints" and the variable "points"
but both are of type "Modelica.SIunits.Position"
Here is reported the error I get with nightly build r14220:
Error: Type mismatch in modifier of component visPoints[1]r, declared type .Modelica.SIunits.Position[3], got modifier points[1] of type Real(quantity=\"Length\", unit=\"m\") Error: Error occurred while flattening model TestPolimi.typeTest
further, the visual components of multibody shouldn't be ignored for the time being?
Attachments (1)
Change History (6)
by , 12 years ago
Attachment: | typeTest.mo added |
---|
comment:1 by , 12 years ago
comment:2 by , 12 years ago
comment:3 by , 12 years ago
Yes, the old instantiation is still used for typing when using the scodeInstShortcut, since the typing in the new instantiation isn't done yet. And the old instantiation currently doesn't handle array types correctly.
Note:
See TracTickets
for help on using tickets.
Duplicate of #1405.