Compare commits

...
4 Commits
2 changed files with 38 additions and 0 deletions
+10
View File
@@ -6,6 +6,9 @@ Hints and support files for working with Solidworks at Reykjavik University
# Hints # Hints
## How do I get solidworks working on a Mac
https://machow2.com/run-solidworks-mac/
## How do I place multiple instances of a part into an assembly ## How do I place multiple instances of a part into an assembly
Reference: https://help.solidworks.com/2020/english/SolidWorks/sldworks/t_Inserting_Components_One_at_a_Time.htm?id=8.1.1.0.0 Reference: https://help.solidworks.com/2020/english/SolidWorks/sldworks/t_Inserting_Components_One_at_a_Time.htm?id=8.1.1.0.0
1. Pin the PropertyManager 1. Pin the PropertyManager
@@ -60,3 +63,10 @@ You need to make [Smart Components](https://help.solidworks.com/2026/english/sol
1. Set the options 1. Set the options
1. Save the assembly and click Yes to save the reference models that have been modified. 1. Save the assembly and click Yes to save the reference models that have been modified.
1. You don't need the assembly anymore if you created it just for this operation. 1. You don't need the assembly anymore if you created it just for this operation.
## How do I set the description for a part/assembly (not configuration) so it shows up on the bom
1. Open File > Properties
2. Click on the "Custom" tab
3. On the dropdown, choose "Description"
4. Put the description of the part in the field to the right of "Text"
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/bash
# Adapted from https://outerrim.dev/posts/solidworks-vm/
# Execute as "solidworks-vmfix.sh [vmname]"
VMNAME=$1
rand9="abcdefghi" #any 9 character string
rand20="abdcefghijklmnopqrst" #any 20 character string
rand8="abcdefgh" #any 8 character string
boottype="efi" #efi or pcibios
echo "Setting up $boottype settings that Solidworks is checking for on VM $VMNAME"
echo "You can check settings by typing: vboxmanage getextradata $VMNAME enumerate"
VBoxManage setextradata $VMNAME "VBoxInternal/Devices/$boottype/0/Config/DmiBIOSVendor" "American Megatrends Inc"
VBoxManage setextradata $VMNAME "VBoxInternal/Devices/$boottype/0/Config/DmiBIOSVersion" "2.1.0"
VBoxManage setextradata $VMNAME "VBoxInternal/Devices/$boottype/0/Config/DmiSystemVendor" "ASUSTek Computer"
VBoxManage setextradata $VMNAME "VBoxInternal/Devices/$boottype/0/Config/DmiSystemSerial" $rand9
## if you have to clear them out, leave the value empty
#vboxmanage setextradata $VMNAME "VBoxInternal/Devices/$boottype/0/Config/DmiBIOSVendor"
#VBoxManage setextradata $VMNAME "VBoxInternal/Devices/$boottype/0/Config/DmiBIOSVersion"
#VBoxManage setextradata $VMNAME "VBoxInternal/Devices/$boottype/0/Config/DmiSystemVendor"
#VBoxManage setextradata $VMNAME "VBoxInternal/Devices/$boottype/0/Config/DmiSystemSerial"
# VBoxManage setextradata $VMNAME "VBoxInternal/Devices/ahci/0/Config/Port0/SerialNumber" $rand20
# VBoxManage setextradata $VMNAME "VBoxInternal/Devices/ahci/0/Config/Port0/FirmwareRevision" $rand8
# VBoxManage setextradata $VMNAME "VBoxInternal/Devices/ahci/0/Config/Port0/ModelNumber" "SEAGATE ST3750525AS"