- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Emergency! Is it possible to change a body's memory address after I make chamfer on this body?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-09-2011 01:55 AM
The situation is that I get some edges belong to a body, and I make chamfer using those edges. Then when I save the body in .sat format, it went wrong.
So what is the problem ?
One idea I thought out myself is that maybe after the chamfer done the body need more memory so that ACIS reallocate the memory for the body.
that can explain why my older pointer to the body no longer point to the it.
I really want to kown whether my explaination stands up. If not, I really want someone could give me some hint.
Re: Emergency! Is it possible to change a body's memory address after I make chamfer on this body?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-09-2011 01:52 PM
Hello pwang8097,
What api's were you using for chamfer?
Did the chamfer api return a successfull outcome?
Was there any other operation performed after Chamfer and before save?
Can you provide more information on the issue you face during save? -Is the sat file corrupt?
Can you journal the api - try the operation in scheme and see if it saves?
We will need more information to help you with this issue.
Regards,
Yogesh
Re: Emergency! Is it possible to change a body's memory address after I make chamfer on this body?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-13-2011 06:21 PM
the API I use are api_set_const_chamfer and api_fix_blends .
And the chamfer API return success.
There are no other operation after the chamfer.
the sat file is indeed corrupt. And the solidworks cannot open it.
And what I want to konw desperately is that whether there is a chance the two routines(api_set_const_chamfer and api_fix_blends) will change the body's memory address during their excuting. If so, I will find another way around.
Re: Emergency! Is it possible to change a body's memory address after I make chamfer on this body?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-14-2011 08:25 AM
Hello pwang8097,
These api's should not change the BODY address but regardless you should not be worried about it. As mentioned earlier can you journal these api's and see if those work in acis3dt.exe? There is something else going on!
Regards,
Yogesh
Re: Emergency! Is it possible to change a body's memory address after I make chamfer on this body?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-14-2011 11:53 PM
hello ybiyani
Thank you for your help. I have the answer. I will do what you suggest me.
I am regret to my impolite and hasty.
best regards
pwang8097

