controlling sketch picture in configed part
controlling sketch picture in configed part
Today I found out that a sketch picture's position, scale, and rotation are automatically configured. Anyone know how to control this or force all configs to have the same picture parameters?
- Attachments
-
- Assem1.SLDASM
- (339.91 KiB) Downloaded 52 times
- mattpeneguy
- Posts: 1386
- Joined: Tue Mar 09, 2021 11:14 am
- x 2489
- x 1899
Re: controlling sketch picture in configed part
Hey @colt,
I'm not sure if you can grab those properties with the API, but if it can be done, I'd guess you'd use a macro to do it. Maybe move this to the API/Macro section? Hey @gupta9665 and @josh, either one of you know how to do this?
I can see that you can insert a sketch picture with a macro, but I don't see where you can move it or resize it:
http://help.solidworks.com/2019/english ... ture2.html
I'm not sure if you can grab those properties with the API, but if it can be done, I'd guess you'd use a macro to do it. Maybe move this to the API/Macro section? Hey @gupta9665 and @josh, either one of you know how to do this?
I can see that you can insert a sketch picture with a macro, but I don't see where you can move it or resize it:
http://help.solidworks.com/2019/english ... ture2.html
- DanPihlaja
- Posts: 839
- Joined: Thu Mar 11, 2021 9:33 am
- Location: Traverse City, MI
- x 804
- x 973
Re: controlling sketch picture in configed part
I am using SW 2018 SP5. I have messed with the sketch picture a bunch of ways.
No matter what I do, if I change the location or angle of the picture, it is updated for all configurations. I cannot configure it at all.
How are you doing it?
Are you using the command "Sketch Picture"?
No matter what I do, if I change the location or angle of the picture, it is updated for all configurations. I cannot configure it at all.
How are you doing it?
Are you using the command "Sketch Picture"?
-Dan Pihlaja
Solidworks 2022 SP4
2 Corinthians 13:14
Solidworks 2022 SP4
2 Corinthians 13:14
Re: controlling sketch picture in configed part
Thanks for the help. @dpihlaja I have the same exact version and only lose synchronization when I edit the sketch picture from the context of different configs. It was very confusing as I was not expecting it.
The gif takes a while to load Side question, is it possible to embed mp4 in viewer?
The gif takes a while to load Side question, is it possible to embed mp4 in viewer?
- Attachments
-
- example.mp4
- (3.64 MiB) Downloaded 68 times
- mattpeneguy
- Posts: 1386
- Joined: Tue Mar 09, 2021 11:14 am
- x 2489
- x 1899
Re: controlling sketch picture in configed part
If you want to reduce the file size for the videos, try resizing the SW window and use something like Screen to Gif (if you can't do it with the Nvidia tool) and only capture the smaller window. The gif file size is huge when you capture a whole 4k screen when it doesn't need to be.colt wrote: ↑Tue Oct 05, 2021 10:32 am Thanks for the help. @dpihlaja I have the same exact version and only lose synchronization when I edit the sketch picture from the context of different configs. It was very confusing as I was not expecting it.
The gif takes a while to load
out.gif
Side question, is it possible to embed mp4 in viewer?
Re: controlling sketch picture in configed part
@mattpeneguy I downsampled my video to 1920x1080 and created gif using ffmpeg but it was still massive. I will look into screen to gif. So the only way to embed mp4 would to be to upload on another site and then point the media element to url?
- mattpeneguy
- Posts: 1386
- Joined: Tue Mar 09, 2021 11:14 am
- x 2489
- x 1899
Re: controlling sketch picture in configed part
@matt set the max file size to 50MB. So, I don't think he has set it to where you can't upload mp4s, but the file size is probably too large for your particular file.
- DanPihlaja
- Posts: 839
- Joined: Thu Mar 11, 2021 9:33 am
- Location: Traverse City, MI
- x 804
- x 973
Re: controlling sketch picture in configed part
So, what if you do the same exact thing in your video, but instead of hitting the rebuild button, you hit CTRL Q instead?colt wrote: ↑Tue Oct 05, 2021 10:32 am Thanks for the help. @dpihlaja I have the same exact version and only lose synchronization when I edit the sketch picture from the context of different configs. It was very confusing as I was not expecting it.
The gif takes a while to load
out.gif
Side question, is it possible to embed mp4 in viewer?
Because I am guessing that you cannot configure sketch pictures.
Probably the best way of going about it (IMO) is to create 2 sketches. Each with the picture how you want it. Then control the suppression state of the sketches relative to your configuration.
-Dan Pihlaja
Solidworks 2022 SP4
2 Corinthians 13:14
Solidworks 2022 SP4
2 Corinthians 13:14
Re: controlling sketch picture in configed part
In the video I was hitting ctl-q before hitting rebuild button. I do not have approved graphics card so that could be a factor. Saving and reopening the assembly still shows the pictures in same locations.
My part had 20 configs so I ended up making a separate part in the assembly to house my sketch picture, then I mated it to the surface where the sketch picture was. Then did copy with mates for every config I wanted to attach it to. A little tedious but now it updates all instances.
My part had 20 configs so I ended up making a separate part in the assembly to house my sketch picture, then I mated it to the surface where the sketch picture was. Then did copy with mates for every config I wanted to attach it to. A little tedious but now it updates all instances.