Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic Rhapsody (steve huntington)
Decrease font size
Increase font size
Topic Title: How to delete a substatechart
Topic Summary:
Created On: 14-Jun-2005 12:29
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 14-Jun-2005 12:29
User is offline View Users Profile Print this message


Jesper Gissel

Posts: 88
Joined: 20-Jul-2005

Hi,

Is there anybody who knows how to delete a substatechart?

I get the message "Cannot delete 'nested' diagram" when I click "delete from model" in the browser.

Jesper Gissel
YORK Marine

-------------------------
Jesper Gissel
Johnson Controls Denmark, Marine Controls
Report this to a Moderator Report this to a Moderator
 15-Jun-2005 18:01
User is offline View Users Profile Print this message


Default User

Posts: 11
Joined: 25-Mar-2005

Jesper,

There is no 'push button' way of deleting sub-statecharts.

Try opening the sub-statechart and do Edit>Select All.

Then delete.

Only problem with this method is that the parent state still indicates
that there is still a sub-statechart (even though its empty). You can always delete the parent state and re-draw it to fix that.
Report this to a Moderator Report this to a Moderator
 15-Jun-2005 20:15
User is offline View Users Profile Print this message


Jesper Gissel

Posts: 88
Joined: 20-Jul-2005

I would categorize that as a bug...!

-------------------------
Jesper Gissel
Johnson Controls Denmark, Marine Controls
Report this to a Moderator Report this to a Moderator
 16-Jun-2005 07:21
User is offline View Users Profile Print this message


Jesper Gissel

Posts: 88
Joined: 20-Jul-2005

Another (dirty) way is to delete it from the .sbs file, by deleting the section " - _nestedStateChart = { IStateChart ....... }" under the parent state. It seems a bit brute, but if thats the only way, besides the way mentioned above, so be it!

-------------------------
Jesper Gissel
Johnson Controls Denmark, Marine Controls
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic Rhapsody forum.
There are currently 1 users logged in.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.