Skip to content

Error when importing expressions with feature references #1801

@pcdavid

Description

@pcdavid

Not sure the terminlogy is correct, but when importing this sample file:

part def Room {
  attribute size : ISQ::AreaValue;
}

part def Home {
  attribute size : ISQ::AreaValue = livingRoom.size + bathRoom.size;
  part livingRoom : Room;
  part bathRoom : Room;
}

The size attribute created displays an invalid/incomplete textual representation in the Details view: the size feature access has been lost.

Image

The resulting exported model also has the error:

part def Room {
	attribute size : ISQSpaceTime::AreaValue;
}
part def Home {
	attribute size : ISQSpaceTime::AreaValue = livingRoom.+ bathRoom.;
	part livingRoom : Room;
	part bathRoom : Room;
}

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions