June 15, 2017 at 16:24 #3295
I am working on an object at the moment, which uses complex profiles. It creates arrays of profiles and each of these can be offset. This part all works OK.
It gets complicated because at each point, you might have 1, 2, 3… profiles aligned next to each other. This again works fine, but the problem I’m having is I would like to use hotspots to control the number of profiles at each location. However, because I can’t use the profile’s width in the parameter script I don’t know how to achieve this.
I’d normally do something like:
VALUES “totalWidthOfProfiles” beamWidth, 2*beamWidth, 3*beamWidth
PARAMETERS numberOfProfiles = totalWidthOfProfiles / beamWidth
June 16, 2017 at 07:34 #3297
You can not get the profile geometry in paramscript, it is impossible in GDL.
The user can change the geometry of a profile without touching the object and running it’s paramscript, so if you could store any information from the profile, this change would make your placed objects’ parameters invalid.
Team Leader, Library Team
June 16, 2017 at 08:57 #3298
I understand that, but I am trying to figure out a way to control the number of beams using hotspots (without the profile width if that’s possible)…
June 19, 2017 at 13:17 #3307
I figured out a way to position hotspots correctly based on the profile dimensions using MUL.
That brings me on to my next question…
Although the MUL command affects the hotspots positions, it doesn’t seem to affect the length of the graphical input. See the attached test object.
Does anyone have any suggestions for this?
You must be logged in to reply to this topic.