Why are many constraints, such as tangents, removed when you create a sketch block from entities? I understand that all external relations and dimensions need to be deleted. But how can I keep the internal relations when creating a sketch block?
They should be kept and I just tested this by making a racetrack shape with 4 tangent relations. I then made a block and when I edited the block, the tangent relations were still there. If you have a specific example that isn't working, please post it.
Sketch fully constrained:
Make block, sketch selected:
after clicking edit block, all constraints gone:
So, after creating the block. All the sketch constraints got deleted automatically. Kindly, help me to resolve the issue.John StoltzfusLuke Malpass@ Keeping internal relations when creating a sketch block.
Nothing is gone expect relation with the origin. To check, drag the entities while in edit mode and see if the shape deforms. If not then all is good
I'm in Edit mode of BLOCK:
Then, click and drag, sketch loses its real geometry and goes of its way along the dragged direction:
Geometry is no more locked.As, after creating the block by selecting the sketch entity. At that time itself, all the some of the sketch relations goes of. Serious issue for me, need bad like anything. I'm in the middle of the Project.
Can you attach your file after you create the block? How can I attach a file to a forum post?
Jim, I did a quick test/check and I can replicate the issue. Below are the steps I did:
This issue is related to SPRs #: 538376 and 335500
Deepak Gupta wrote: Jim, I did a quick test/check and I can replicate the issue. Below are the steps I did: Created a rectangle.Added offset (with dimension).Created the block.Now when editing the block, offset relation/dimension is gone. This issue is related to SPRs #: 538376 and 335500
Deepak Gupta wrote:
Thanks for finding those SPRs Deepak; I was not aware of that problem. Note that 538376 is a duplicate of 335500 so anyone reporting/attaching to the SPR should choose 335500.
However, based on Vinoth's images, that does not appear to be the problem he is encountering. In his first set of images, he does not appear to have offset relations, but rather the same type of tangent, equal, horizontal, and vertical relations on the outer profile as the inner one. And in his first set of images, those are still there when editing the block.
So, unless Vinoth did something different with the sketch to produce the second set of images (i.e. used offset), then it may be a different problem. So Vinoth will have to let us know. If it is indeed SPR#335500, the two workarounds I can think of are:
Vinoth, if it is indeed the offset problem, please either report the problem to your reseller referencing SPR#335500 or attach yourself to the SPR by going to the customer portal, looking up 335500 in the Knowledge Base and then choosing the "Yes, but notify me when this is fixed. (SPR only)" option on the left of the Knowledge Base entry.
This link may bring you directly to the KB entry if your browser is already logged into the customer portal.
Jim Wilkinson wrote:Create the offset AFTER the block is made. This does not seem to delete it. I am guessing it is getting confused and thinking that the offset is a relation external to the block on initial creation and therefore stripping the relations. But it probably doesn't go through the external relation check on block edit/exit.
Jim Wilkinson wrote:
Create the offset AFTER the block is made. This does not seem to delete it. I am guessing it is getting confused and thinking that the offset is a relation external to the block on initial creation and therefore stripping the relations. But it probably doesn't go through the external relation check on block edit/exit.
Thanks for quick response and looking into the issue. Adding offset after creating the block works.
Also looking at images posted by Vinoth, it seems like some relations have either changed or lost.
Deepak Gupta wrote: Also looking at images posted by Vinoth, it seems like some relations have either changed or lost.
This is where I am confused. In his first post, the 1st, 2nd, and 4th images all seem to have the same relationships. None of them have been removed in the 4th image and none of them appear to be offset relations. So what is the problem?
I agree that in his 1st image in his second post that many of the relationships are now missing, but he has not indicated how things went from the 4th image of the first post to the 1st image of his second post so I have no idea if this is the same problem as 335500 or if it is something different. If he used offsets in the workflow to create the images of the second post, then it is the same problem. If some other workflow was done between the 1st post and the 2nd one that caused relations to disappear, then it may be a separate issue. For that, more details would need to be posted to understand.
Jim Wilkinson wrote: Deepak Gupta wrote: Also looking at images posted by Vinoth, it seems like some relations have either changed or lost.This is where I am confused.
This is where I am confused.
And that is confusing me too.
Thanks for your valuable reply. Actually, In our firm we don't use weldments for making any structure related as client prohibited that to use. Instead, we do boss extrude the Channel/ tube cross section and will do bottom up assembly by mating to develop weldments. So, while making parts I wanna use square tube of standard size. So, I planned to make a assembly in top down approach by making the layout and later creating new part in context by adding the pre-made block at every instance of structural member with different lengths. So, that block I tried to make was the square tube.
Vinoth Kumar N. wrote: And finally, After making the block I have to insert in multiple instance to create the part. So, after making the BLOCK I can't do the offset.
Vinoth Kumar N. wrote:
Maybe you misunderstand. When you initially make the block, just make it with the inner profile and then use Insert Block. Then immediately edit the block, add the offset geometry to make the outer profile and then exit the block. Now the block should be fine with both profiles, the outer one being an offset of the inner one and you can use it as many times as you like after that to create different parts.
Thanks for your guidance. I worked upon the block with steps instructed by you. And that keeps the Sketch relations without striping.Jim Wilkinson@
Keeping internal relations when creating a sketch block.
So, finally the issue got resolved.
Can you please create and share two file created using your older method for some testing/debugging.
With these two different files, it would be easier to find/debug the issue.
Same problem here. Starting from a fully-defined sketch, when I transform it into a block (Tools > Block > Make), the sketch preserves some, but not all of its relations, turning blue.
My *hack* for now has been to find a point that's on the origin and set is as *fixed*. Given that the sketch was fully defined to begin with, this seems to fully define everything in the block.
Hopefully, this helps, but I'd love a better solution to this!
Retrieving data ...