Mike, does not work
Object browser shows the following (I have used all the methods somewhere else all successfully)
IPointArray_DG SetCount(integer)
Maybe the code Dim iPoints As IPointArray_DG = iCurve.GetData() does not return a correct IPointArray?
Marcos
Search found 7 matches
- Sun Jun 08, 2025 10:19 am
- Forum: DG Kernel discussions
- Topic: Conversion 2D/3D
- Replies: 8
- Views: 39574
- Sat Jun 07, 2025 5:17 pm
- Forum: DG Kernel discussions
- Topic: Conversion 2D/3D
- Replies: 8
- Views: 39574
Re: Conversion 2D/3D
Mike, I am mimicking what you posted and get an error where shown Dim iPath As IArcSpline3DCurve_DG = m_gen.Create("IArcSpline3DCurve_DG") Dim iCurve As ICurveFreeForm_DG = iPath Dim iPoints As IPointArray_DG = iCurve.GetData() iPoints.SetCount(3) '**** ERROR The method or operation is not...
- Fri May 30, 2025 6:32 pm
- Forum: DG Kernel discussions
- Topic: Conversion 2D/3D
- Replies: 8
- Views: 39574
Re: Conversion 2D/3D
Hi Nick, I have tried unsuccessfully the equivalent in Visual Studio 2022 in VB: iFrameArr=TryCast(iPath, IFrameArray_DG), being iPath defined as Dim iPath As IArcSpline3DCurve_DG = m_gen.Create("IArcSpline3DCurve_DG") and iFrameArr as IFrameArray_DG=m_gen.Create("IFrameArray_DG"...
- Wed May 28, 2025 5:38 pm
- Forum: DG Kernel discussions
- Topic: Entity Texture
- Replies: 1
- Views: 15710
Entity Texture
Hi, I am using this code for inserting texture in a simple model. Public Sub SetTexture(iEntity As IEntity_DG) iEntity = mModel.GetEntityAt(0) Debug.WriteLine("Entity: " & iEntity.GetName()) Dim iTex As ITexture_DG = iEntity If iTex Is Nothing Then MessageBox.Show("The model is no...
- Wed May 28, 2025 5:34 pm
- Forum: DG Kernel discussions
- Topic: Conversion 2D/3D
- Replies: 8
- Views: 39574
Conversion 2D/3D
In the documentation for Arc Spline Curves https://dynoinsight.com/Help/V7_2/AX/General/Math/Curves/ArcSplineCurve.aspx it is stated that "The frames can be accessed by querying IFrameArray_DG from IArcSpline3DCurve_DG". Please give me a hint on how to do that, I cannot find a method to qu...
- Fri Apr 18, 2025 7:20 pm
- Forum: DG Kernel discussions
- Topic: Transparent Shapes
- Replies: 3
- Views: 25011
Transparent Shapes
Hi,
Is there are way to make a transparent shape? For example, it would be useful to be able to get iStdShape_DG.Box or similar transparent. The application could be to show the bounding box of an entity. And more.
BR,
Marcos
Is there are way to make a transparent shape? For example, it would be useful to be able to get iStdShape_DG.Box or similar transparent. The application could be to show the bounding box of an entity. And more.
BR,
Marcos
- Fri Feb 21, 2025 6:09 pm
- Forum: DG Kernel discussions
- Topic: Using IKinematic_DG & ICutEffect_DG
- Replies: 2
- Views: 86712
Using IKinematic_DG & ICutEffect_DG
Hi, There is little explanation on how to use these capabilities. Could you extend the little explanation found on the documentation, please? In particular, I would be interested in defining a targetEntity onto which to make a material removal following a trajectory defined as IMove_DG. I am using V...