I've been testing the sample which came with Plant3D SDK (Plant SDK 2013\Samples\Piping\CreatePipeline) for modeling from a .NET assembly. When execute with NETLOAD and then CREATEPIPE I can see all components created on current drawing. The problem is about size for those components. If you check the image, components created from dll is smaller than they should be. Beside a pipe with 10" (red) created from DLL there is a pipe with 10" too (red), but it was created through the plant3d interface. So the question is, why size is different when creating components by .NET dll ? What I have to do to get the right size? Anyone else had same problem?
Well, I tried to change while creating pipes but no success. After I tried to change at project settings, no success either.
I meant create a new project with Metric units, or if you have already, try it in a project with Imperial units.
Tried it already. First only metric, second imperial and finally mixed metric and imperial. In all cases, if pipe were created programmatically size is lower them it should be, by the other hand if create through route pipe with same size pipe was created is right. I'm not sure if can I post my test project attached to this thread.
Same problem, I tried to set other diameters from available diameter range but neither diameter was created with rigth visual size. Any other suggestion?
Checking carefully, I found out that this problem occurs only when plant3d unit project is millimiter or mixed. For imperial it works fine. It's seems a issue to set which unit is being used for creating pipe. Is there any way to set which unit should be used while creating components?
I've already tried this part.PartSizeProperties.NeedUnitScale(Units.I
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register