Access shared data files A360

Access shared data files A360

Paul1084
Advocate Advocate
555 Views
1 Reply
Message 1 of 2

Access shared data files A360

Paul1084
Advocate
Advocate

Hi,

 

So, we have finally finalised our C360 Models, and have created a library of presets to speed up the overall C360 model. due to the 1GB limit on zip files, we have enabled the 'Access shared data files' in the C360 options, and used the 'GetSharedDataFile' function in the ilogic code to replace part occurences in the main assembly from A360 as required, based on input parameters

Component.Replace("Neivalu_Frame", GetSharedDataFile("Neivalu\Presets\" & w/1000 & "m\Cladding\Neivalu_" & w & "x" & l & "x" & h & "_Frame.ipt"), False)

This works great, and is a massive improvement on reload times which is now down to a few seconds instead of over 1min.

 

 

However, when we come to download a PDF, or IDW file, they are no longer behaving correctly. The IDW is either failing completely, or just displaying the default initial state without any changes showing.

 

I breifly solved this problem, by removing any sketch references (for the purpose of dimensioning) in the IDW from the A360 Part files, and instead placing referenced sketches in the main assembly... but since then, it seems to have stoppd working agin.... I cant understand why at the moment.

 

Can anyon shed any light on this issue? do I need to set a new folder refrence in the ipj file to point at my A360 folder? if so how do I reference the A360 folder? I also tried saving the part files back to the c360 temp folder after replacing them with A360 files, but this didnt work either.... there must be a way ???

Reply
Reply
0 Likes
556 Views
1 Reply
Reply (1)
Message 2 of 2

Paul1084
Advocate
Advocate

Further to my post, I have tested this problem further, and found that it appears to be a problem with Level of Detail in the main assembly file.

 

I have tested with a new assembly file, and placed one of the parts that I want to replace with A360 files, and added the rule below... this works, and the IDW file updates and shows the correct version of the part based on Width, Length, & Height parameters.

 

I then added a custom level of detail, so that I can suppress the component if required, and the IDW broke again without any other changes to code etc... I have tried setting the view to master LOD and to the custom LOD, and it just will not update, it shows the default state that I uploaded it in when i download a PDF from configurator... even though the model woks perfectly and loads/displays the correct preset every time.

 

.....help!!

 

AddVbFile "C360SharedFilesAccess.iLogicVb"
	If WIDTH >= 30 Then w = Round(WIDTH / 5000) * 5000 Else w = 30000
	If LENGTH >= 150 Then l = Round(LENGTH / 5000) * 5000 Else l = 150000
	If HEIGHT >= 8 Then h = Round(HEIGHT / 1000) * 1000 Else h = 8000
	If HEIGHT <3 Then h = 3000


		If CLADDING = "Steel Cladding" Then CLADDING_FNAME = "Steel_Cladding"
		If CLADDING = "Insulated Steel Cladding" Then CLADDING_FNAME = "Insulated_Steel_Cladding"
		If CLADDING = "UPVC Cladding" Then CLADDING_FNAME = "UPVC"


	Component.Replace("Cladding", GetSharedDataFile("Neivalu\Presets\" & w/1000 & "m\Neivalu_" & w & "x" & l & "x" & h & "_" & CLADDING_FNAME & ".ipt"), True)
Reply
Reply
0 Likes